diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-07-01 13:23:46 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-07-01 13:23:46 -0400 |
commit | 73b8b2cf8afd5cc8969b3bd4d2c238d9c453e8fd (patch) | |
tree | c082faa41b174478cadc17f84b65635593ca97af /src/explify.sml | |
parent | a0b2a6145f200885f5dd7b365d2ffad51851795e (diff) |
Push KUnit and CUnit through the phases
Diffstat (limited to 'src/explify.sml')
-rw-r--r-- | src/explify.sml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/explify.sml b/src/explify.sml index 0fa3698b..e0226213 100644 --- a/src/explify.sml +++ b/src/explify.sml @@ -38,7 +38,7 @@ fun explifyKind (k, loc) = | L.KName => (L'.KName, loc) | L.KRecord k => (L'.KRecord (explifyKind k), loc) - | L.KUnit => raise Fail "Explify KUnit" + | L.KUnit => (L'.KUnit, loc) | L.KError => raise Fail ("explifyKind: KError at " ^ EM.spanToString loc) | L.KUnif (_, _, ref (SOME k)) => explifyKind k @@ -65,7 +65,7 @@ fun explifyCon (c, loc) = | L.CConcat (c1, c2) => (L'.CConcat (explifyCon c1, explifyCon c2), loc) | L.CFold (dom, ran) => (L'.CFold (explifyKind dom, explifyKind ran), loc) - | L.CUnit => raise Fail "Explify CUnit" + | L.CUnit => (L'.CUnit, loc) | L.CError => raise Fail ("explifyCon: CError at " ^ EM.spanToString loc) | L.CUnif (_, _, _, ref (SOME c)) => explifyCon c |