Mercurial > urweb
diff src/corify.sml @ 31:1c91c5e6840f
Simple signature matching
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 12 Jun 2008 17:16:20 -0400 |
parents | 537db4ee89f4 |
children | 44b5405e74c7 |
line wrap: on
line diff
--- a/src/corify.sml Thu Jun 12 14:04:22 2008 -0400 +++ b/src/corify.sml Thu Jun 12 17:16:20 2008 -0400 @@ -83,6 +83,9 @@ L.DCon (x, n, k, c) => (L'.DCon (x, n, corifyKind k, corifyCon c), loc) | L.DVal (x, n, t, e) => (L'.DVal (x, n, corifyCon t, corifyExp e), loc) + | L.DSgn _ => raise Fail "Not ready to corify signature" + | L.DStr _ => raise Fail "Not ready to corify structure" + val corify = map corifyDecl end