Fix basic tests

This commit is contained in:
Martin Fredin 2023-02-09 20:23:49 +01:00
parent 23261ec380
commit 7c313b3faa
2 changed files with 8 additions and 1 deletions

View file

@ -22,4 +22,11 @@ clean :
rm -r src/Grammar
rm language
test :
./language ./sample-programs/basic-1
./language ./sample-programs/basic-2
./language ./sample-programs/basic-3
./language ./sample-programs/basic-4
./language ./sample-programs/basic-5
# EOF

View file

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