Skip to content

Commit

Permalink
improve eta-expansion test
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszcz committed Oct 13, 2022
1 parent d7e208a commit 77ed47a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/Core/positive/out/test039.out
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
cons 7 2
5
cons 3 2
cons 1 2
5 changes: 4 additions & 1 deletion tests/Core/positive/test039.jvc
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@ def f1' := \x \y f (+ (x / y));
def g1 := \f f 2;
def g1' := \x \y g (cons (x / y));

def h := \f f 1 2;

def writeLn := \x write x >> write "\n";

writeLn (f' 7) >>
writeLn (g' 7) >>
writeLn (f1' 7 2) >>
writeLn (g1' 7 2)
writeLn (g1' 7 2) >>
writeLn (h cons)

0 comments on commit 77ed47a

Please sign in to comment.