Add closures and fix lets in monomorphizer

This commit is contained in:
Martin Fredin 2023-05-06 22:49:08 +02:00
parent 677a200a15
commit 72e599d5de
26 changed files with 1440 additions and 692 deletions

View file

@ -0,0 +1,7 @@
apply : (Int -> Int) -> Int -> Int
apply f y = f y
main = apply (\y. y + y) 5