diff src/mono_env.sml @ 198:ab86aa858e6c

'Option' datatype encoding
author Adam Chlipala <adamc@hcoop.net>
date Sat, 09 Aug 2008 19:23:31 -0400
parents 890a61991263
children 42dfb0d61cf0
line wrap: on
line diff
--- a/src/mono_env.sml	Sat Aug 09 16:54:04 2008 -0400
+++ b/src/mono_env.sml	Sat Aug 09 19:23:31 2008 -0400
@@ -98,7 +98,7 @@
         DDatatype (x, n, xncs) =>
         let
             val env = pushDatatype env x n xncs
-            val dt = (TDatatype (n, ref (MonoUtil.classifyDatatype xncs, xncs)), loc)
+            val dt = (TDatatype (n, ref (ElabUtil.classifyDatatype xncs, xncs)), loc)
         in
             foldl (fn ((x', n', NONE), env) => pushENamed env x' n' dt NONE ""
                     | ((x', n', SOME t), env) => pushENamed env x' n' (TFun (t, dt), loc) NONE "")