RosettaCodeData/Task/Higher-order-functions/PowerShell/higher-order-functions-1.ps1
2026-04-30 12:34:36 -04:00

6 lines
77 B
PowerShell

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