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

2 lines
73 B
Text
Raw Permalink Normal View History

2016-12-05 22:15:40 +01:00
function Add($x) { return { param($y) return $y + $x }.GetNewClosure() }