src/Pure/Isar/overloading.ML
changeset 46923 947f63062022
parent 46916 e7ea35b41e2d
child 47061 355317493f34
equal deleted inserted replaced
46922:3717f3878714 46923:947f63062022
   172     val overloading = get_overloading lthy;
   172     val overloading = get_overloading lthy;
   173     fun pr_operation ((c, ty), (v, _)) =
   173     fun pr_operation ((c, ty), (v, _)) =
   174       Pretty.block (Pretty.breaks
   174       Pretty.block (Pretty.breaks
   175         [Pretty.str v, Pretty.str "==", Pretty.str (Proof_Context.extern_const lthy c),
   175         [Pretty.str v, Pretty.str "==", Pretty.str (Proof_Context.extern_const lthy c),
   176           Pretty.str "::", Syntax.pretty_typ lthy ty]);
   176           Pretty.str "::", Syntax.pretty_typ lthy ty]);
   177   in Pretty.str "overloading" :: map pr_operation overloading end;
   177   in Pretty.command "overloading" :: map pr_operation overloading end;
   178 
   178 
   179 fun conclude lthy =
   179 fun conclude lthy =
   180   let
   180   let
   181     val overloading = get_overloading lthy;
   181     val overloading = get_overloading lthy;
   182     val _ =
   182     val _ =