churf/sample-programs/working/closure.crf
2023-05-06 22:49:08 +02:00

10 lines
106 B
Text

apply : (Int -> Int) -> Int -> Int
apply f z = f z
main =
let x = 10 in
apply (\y. y + x) 6