Adjust old type checker to new syntax, and refactor lambda lifter to use typed AST
This commit is contained in:
parent
514c809b1e
commit
210e55bb15
18 changed files with 554 additions and 145 deletions
|
|
@ -1,2 +1,7 @@
|
|||
|
||||
f x = let double = \y. y+y in (\x. x+y) 4;
|
||||
f : Int -> Int;
|
||||
f x = let
|
||||
double : Int -> Int;
|
||||
double = \y:Int. y+y
|
||||
in
|
||||
double (x + 4);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue