diff options
Diffstat (limited to 'src/monoize.sml')
-rw-r--r-- | src/monoize.sml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/monoize.sml b/src/monoize.sml index c3e9e806..1dbbf211 100644 --- a/src/monoize.sml +++ b/src/monoize.sml @@ -63,6 +63,7 @@ fun monoType env (all as (c, loc)) = | L.CRel _ => poly () | L.CNamed n => (L'.TNamed n, loc) + | L.CFfi _ => raise Fail "Monoize CFfi" | L.CApp _ => poly () | L.CAbs _ => poly () @@ -85,6 +86,8 @@ fun monoExp env (all as (e, loc)) = L.EPrim p => (L'.EPrim p, loc) | L.ERel n => (L'.ERel n, loc) | L.ENamed n => (L'.ENamed n, loc) + | L.EFfi _ => raise Fail "Monoize EFfi" + | L.EFfiApp _ => raise Fail "Monoize EFfiApp" | L.EApp (e1, e2) => (L'.EApp (monoExp env e1, monoExp env e2), loc) | L.EAbs (x, dom, ran, e) => (L'.EAbs (x, monoType env dom, monoType env ran, monoExp (Env.pushERel env x dom) e), loc) |