RosettaCodeData/Task/Currying/PowerShell/currying-1.ps1

2 lines
73 B
PowerShell
Raw Permalink Normal View History

2026-04-30 12:34:36 -04:00
function Add($x) { return { param($y) return $y + $x }.GetNewClosure() }