diff src/monoize.sml @ 198:ab86aa858e6c

'Option' datatype encoding
author Adam Chlipala <adamc@hcoop.net>
date Sat, 09 Aug 2008 19:23:31 -0400
parents 890a61991263
children 5dbba661deab
line wrap: on
line diff
--- a/src/monoize.sml	Sat Aug 09 16:54:04 2008 -0400
+++ b/src/monoize.sml	Sat Aug 09 19:23:31 2008 -0400
@@ -84,7 +84,7 @@
                              val xncs = map (fn (x, n, to) => (x, n, Option.map (mt env dtmap') to)) xncs
                          in
                              case xs of
-                                 [] =>(r := (MonoUtil.classifyDatatype xncs, xncs);
+                                 [] =>(r := (ElabUtil.classifyDatatype xncs, xncs);
                                        (L'.TDatatype (n, r), loc))
                                | _ => poly ()
                          end)