--- 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;