doc-src/more_antiquote.ML
changeset 31143 2ce5c0c4d697
parent 30977 0e8e8903ff4e
child 31156 90fed3d4430f
     1.1 --- a/doc-src/more_antiquote.ML	Wed May 13 21:22:48 2009 +0200
     1.2 +++ b/doc-src/more_antiquote.ML	Thu May 14 08:22:06 2009 +0200
     1.3 @@ -88,9 +88,9 @@
     1.4    let
     1.5      val thy = ProofContext.theory_of ctxt;
     1.6      val const = Code_Unit.check_const thy raw_const;
     1.7 -    val (_, funcgr) = Code_Wellsorted.obtain thy [const] [];
     1.8 +    val (_, funcgr) = Code_Preproc.obtain thy [const] [];
     1.9      fun holize thm = @{thm meta_eq_to_obj_eq} OF [thm];
    1.10 -    val thms = Code_Wellsorted.eqns funcgr const
    1.11 +    val thms = Code_Preproc.eqns funcgr const
    1.12        |> map_filter (fn (thm, linear) => if linear then SOME thm else NONE)
    1.13        |> map (holize o no_vars ctxt o AxClass.overload thy);
    1.14    in ThyOutput.output (ThyOutput.maybe_pretty_source (pretty_thm ctxt) src thms) end;