src/Pure/Isar/overloading.ML
changeset 26939 1035c89b4c02
parent 26730 bbb5e6904d78
child 27285 def40a211768
equal deleted inserted replaced
26938:64e850c3da9e 26939:1035c89b4c02
   172   let
   172   let
   173     val thy = ProofContext.theory_of lthy;
   173     val thy = ProofContext.theory_of lthy;
   174     val overloading = get_overloading lthy;
   174     val overloading = get_overloading lthy;
   175     fun pr_operation ((c, ty), (v, _)) =
   175     fun pr_operation ((c, ty), (v, _)) =
   176       (Pretty.block o Pretty.breaks) [Pretty.str v, Pretty.str "==",
   176       (Pretty.block o Pretty.breaks) [Pretty.str v, Pretty.str "==",
   177         Pretty.str (Sign.extern_const thy c), Pretty.str "::", Sign.pretty_typ thy ty];
   177         Pretty.str (Sign.extern_const thy c), Pretty.str "::", Syntax.pretty_typ lthy ty];
   178   in
   178   in
   179     (Pretty.block o Pretty.fbreaks)
   179     (Pretty.block o Pretty.fbreaks)
   180       (Pretty.str "overloading" :: map pr_operation overloading)
   180       (Pretty.str "overloading" :: map pr_operation overloading)
   181   end;
   181   end;
   182 
   182