adjusted to changes in cs b987b803616d
authorhaftmann
Sat, 20 Feb 2010 07:52:06 +0100
changeset 35246 bcbb5ba7dbbc
parent 35245 9271d1fc259a
child 35247 0831bd85eee5
adjusted to changes in cs b987b803616d
doc-src/more_antiquote.ML
--- a/doc-src/more_antiquote.ML	Fri Feb 19 22:37:43 2010 +0100
+++ b/doc-src/more_antiquote.ML	Sat Feb 20 07:52:06 2010 +0100
@@ -91,9 +91,9 @@
     val (_, eqngr) = Code_Preproc.obtain thy [const] [];
     fun holize thm = @{thm meta_eq_to_obj_eq} OF [thm];
     val thms = Code_Preproc.cert eqngr const
-      |> Code.equations_thms_cert thy
+      |> Code.equations_of_cert thy
       |> snd
-      |> map_filter (fn (_, (thm, proper)) => if proper then SOME thm else NONE)
+      |> map_filter (fn (_, (some_thm, proper)) => if proper then some_thm else NONE)
       |> map (holize o no_vars ctxt o AxClass.overload thy);
   in ThyOutput.output (ThyOutput.maybe_pretty_source (pretty_thm ctxt) src thms) end;