Files
bc/examples/higherorder.bc

4 lines
67 B
Plaintext

define inc(x) { x + 1}
define call(f, arg) { f(arg)}
call(inc, 10)