RosettaCodeData/Task/Higher-order-functions/PowerShell/higher-order-functions-1.psh

7 lines
77 B
Text
Raw Permalink Normal View History

2015-11-18 06:14:39 +00:00
function f ($y) {
$y*$y
}
function g (${function:f}, $y) {
(f $y)
}