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/corify.sml | |
parent | a0b2a6145f200885f5dd7b365d2ffad51851795e (diff) |
Push KUnit and CUnit through the phases
Diffstat (limited to 'src/corify.sml')
-rw-r--r-- | src/corify.sml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corify.sml b/src/corify.sml index 5dfd0db6..baff8182 100644 --- a/src/corify.sml +++ b/src/corify.sml @@ -275,6 +275,7 @@ fun corifyKind (k, loc) = | L.KArrow (k1, k2) => (L'.KArrow (corifyKind k1, corifyKind k2), loc) | L.KName => (L'.KName, loc) | L.KRecord k => (L'.KRecord (corifyKind k), loc) + | L.KUnit => (L'.KUnit, loc) fun corifyCon st (c, loc) = case c of @@ -306,6 +307,7 @@ fun corifyCon st (c, loc) = (L'.CRecord (corifyKind k, map (fn (c1, c2) => (corifyCon st c1, corifyCon st c2)) xcs), loc) | L.CConcat (c1, c2) => (L'.CConcat (corifyCon st c1, corifyCon st c2), loc) | L.CFold (k1, k2) => (L'.CFold (corifyKind k1, corifyKind k2), loc) + | L.CUnit => (L'.CUnit, loc) fun corifyExp st (e, loc) = case e of |