Fix unnecessary supercombinator issue

This commit is contained in:
Martin Fredin 2023-02-10 11:47:07 +01:00
parent ece621b0aa
commit 8688b303ac
5 changed files with 62 additions and 43 deletions

3
sample-programs/basic-6 Normal file
View file

@ -0,0 +1,3 @@
f = \x.\y. x+y

5
sample-programs/basic-7 Normal file
View file

@ -0,0 +1,5 @@
add x y = x + y;
apply f x = f x;
main = apply (add 4) 6;