Add closures and fix lets in monomorphizer
This commit is contained in:
parent
677a200a15
commit
72e599d5de
26 changed files with 1440 additions and 692 deletions
7
sample-programs/working/apply.crf
Normal file
7
sample-programs/working/apply.crf
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
|
||||
|
||||
|
||||
apply : (Int -> Int) -> Int -> Int
|
||||
apply f y = f y
|
||||
|
||||
main = apply (\y. y + y) 5
|
||||
Loading…
Add table
Add a link
Reference in a new issue