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

7 lines
77 B
Plaintext

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