Thm.get_def;
authorwenzelm
Thu, 23 Oct 2008 16:07:03 +0200
changeset 28678 d93980a6c3cb
parent 28677 4693938e9c2a
child 28679 d7384e8e99b3
Thm.get_def;
src/ZF/Tools/datatype_package.ML
src/ZF/Tools/inductive_package.ML
--- a/src/ZF/Tools/datatype_package.ML	Thu Oct 23 15:28:39 2008 +0200
+++ b/src/ZF/Tools/datatype_package.ML	Thu Oct 23 16:07:03 2008 +0200
@@ -303,7 +303,7 @@
 
   (*** Prove the recursor theorems ***)
 
-  val recursor_eqns = case try (get_def thy1) recursor_base_name of
+  val recursor_eqns = case try (Thm.get_def thy1) recursor_base_name of
      NONE => (writeln "  [ No recursion operator ]";
               [])
    | SOME recursor_def =>
--- a/src/ZF/Tools/inductive_package.ML	Thu Oct 23 15:28:39 2008 +0200
+++ b/src/ZF/Tools/inductive_package.ML	Thu Oct 23 16:07:03 2008 +0200
@@ -182,7 +182,7 @@
 
   (*fetch fp definitions from the theory*)
   val big_rec_def::part_rec_defs =
-    map (get_def thy1)
+    map (Thm.get_def thy1)
         (case rec_names of [_] => rec_names
                          | _   => big_rec_base_name::rec_names);