src/HOL/Tools/inductive_codegen.ML
changeset 33963 977b94b64905
parent 33771 17926df64f0f
child 34962 807f6ce0273d
--- a/src/HOL/Tools/inductive_codegen.ML	Fri Nov 27 08:41:08 2009 +0100
+++ b/src/HOL/Tools/inductive_codegen.ML	Fri Nov 27 08:41:10 2009 +0100
@@ -104,7 +104,7 @@
   let
     val cnstrs = flat (maps
       (map (fn (_, (_, _, cs)) => map (apsnd length) cs) o #descr o snd)
-      (Symtab.dest (Datatype.get_all thy)));
+      (Symtab.dest (Datatype_Data.get_all thy)));
     fun check t = (case strip_comb t of
         (Var _, []) => true
       | (Const (s, _), ts) => (case AList.lookup (op =) cnstrs s of