Fix first unnecessary supercombinator

This commit is contained in:
Martin Fredin 2023-02-09 17:53:39 +01:00
parent 69254f8032
commit 08917be1c6
10 changed files with 66 additions and 51 deletions

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

@ -0,0 +1,9 @@
id x = x;
add x y = x + y;
double n = n + n;
apply f x = \y -> f x y;
main = apply (id add) ((\x. x + 1) 1) (double 3);