RosettaCodeData/Task/Higher-order-functions/PowerShell/higher-order-functions-1.psh
2015-11-18 06:14:39 +00:00

6 lines
77 B
Text

function f ($y) {
$y*$y
}
function g (${function:f}, $y) {
(f $y)
}