Mercurial > urweb
diff src/corify.sml @ 34:44b5405e74c7
Elaborating module projection
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 17 Jun 2008 16:38:54 -0400 |
parents | 1c91c5e6840f |
children | 02f42e9a1825 |
line wrap: on
line diff
--- a/src/corify.sml Thu Jun 12 17:41:32 2008 -0400 +++ b/src/corify.sml Tue Jun 17 16:38:54 2008 -0400 @@ -50,6 +50,8 @@ | L.CRel n => (L'.CRel n, loc) | L.CNamed n => (L'.CNamed n, loc) + | L.CModProj _ => raise Fail "Corify CModProj" + | L.CApp (c1, c2) => (L'.CApp (corifyCon c1, corifyCon c2), loc) | L.CAbs (x, k, c) => (L'.CAbs (x, corifyKind k, corifyCon c), loc) @@ -67,6 +69,7 @@ L.EPrim p => (L'.EPrim p, loc) | L.ERel n => (L'.ERel n, loc) | L.ENamed n => (L'.ENamed n, loc) + | L.EModProj _ => raise Fail "Corify EModProj" | L.EApp (e1, e2) => (L'.EApp (corifyExp e1, corifyExp e2), loc) | L.EAbs (x, dom, ran, e1) => (L'.EAbs (x, corifyCon dom, corifyCon ran, corifyExp e1), loc) | L.ECApp (e1, c) => (L'.ECApp (corifyExp e1, corifyCon c), loc)