RosettaCodeData/Task/Higher-order-functions/PL-I/higher-order-functions.pli
Ingy döt Net d066446780 langs a-z
2013-04-10 22:43:41 -07:00

8 lines
154 B
Text

f: procedure (g) returns (float);
declare g entry (float);
get (x);
put (g(x));
end f;
x = f(p); /* where "p" is the name of a function. */