diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-06-10 15:56:33 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-06-10 15:56:33 -0400 |
commit | 0b48781249e7062928ff78ae3469a508a3e31eaa (patch) | |
tree | 9e6bdf99508109633f198c8a01948c165cad3b86 /src/monoize.sml | |
parent | be45a4a950e01689219ebc5032f53f66b012f660 (diff) |
Closure conversion
Diffstat (limited to 'src/monoize.sml')
-rw-r--r-- | src/monoize.sml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/monoize.sml b/src/monoize.sml index e72d7b1b..b38bd5c0 100644 --- a/src/monoize.sml +++ b/src/monoize.sml @@ -86,8 +86,8 @@ fun monoExp env (all as (e, loc)) = | L.ERel n => (L'.ERel n, loc) | L.ENamed n => (L'.ENamed n, loc) | L.EApp (e1, e2) => (L'.EApp (monoExp env e1, monoExp env e2), loc) - | L.EAbs (x, t, e) => - (L'.EAbs (x, monoType env t, monoExp (Env.pushERel env x t) e), loc) + | L.EAbs (x, dom, ran, e) => + (L'.EAbs (x, monoType env dom, monoType env ran, monoExp (Env.pushERel env x dom) e), loc) | L.ECApp _ => poly () | L.ECAbs _ => poly () |