summaryrefslogtreecommitdiff
path: root/src/corify.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-08-09 19:23:31 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-08-09 19:23:31 -0400
commit0186af3d727b1b92e7b63925500a21d5e412d7b4 (patch)
tree6f836a2c222f87f521569b4110e0422d4291d37a /src/corify.sml
parent3232399b3893f93678a2d1a519bd0d4011275dba (diff)
'Option' datatype encoding
Diffstat (limited to 'src/corify.sml')
-rw-r--r--src/corify.sml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corify.sml b/src/corify.sml
index 9c350aee..eb46eec8 100644
--- a/src/corify.sml
+++ b/src/corify.sml
@@ -532,7 +532,7 @@ structure St : sig
((x, n, co), st)
end) st xncs
- val dk = CoreUtil.classifyDatatype xncs
+ val dk = ElabUtil.classifyDatatype xncs
val t = (L'.CNamed n, loc)
val nxs = length xs - 1
val t = ListUtil.foldli (fn (i, _, t) => (L'.CApp (t, (L'.CRel (nxs - i), loc)), loc)) t xs
@@ -674,7 +674,7 @@ structure St : sig
| L.SgiDatatype (x, n, xs, xnts) =>
let
val k = (L'.KType, loc)
- val dk = ExplUtil.classifyDatatype xnts
+ val dk = ElabUtil.classifyDatatype xnts
val (st, n') = St.bindCon st x n
val (xnts, (ds', st, cmap, conmap)) =
ListUtil.foldlMap