RosettaCodeData/Task/Higher-order-functions/PL-I/higher-order-functions.pli
2023-07-01 13:44:08 -04: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. */