diff src/monoize.sml @ 48:0a5c312de09a

Start of FFI
author Adam Chlipala <adamc@hcoop.net>
date Sun, 22 Jun 2008 09:27:29 -0400
parents 537db4ee89f4
children 92361a008a10
line wrap: on
line diff
--- a/src/monoize.sml	Thu Jun 19 18:13:33 2008 -0400
+++ b/src/monoize.sml	Sun Jun 22 09:27:29 2008 -0400
@@ -63,6 +63,7 @@
 
           | 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 @@
             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)