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

2 lines
73 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
function Add($x) { return { param($y) return $y + $x }.GetNewClosure() }