src/Pure/General/binding.ML
changeset 63335 d98164344ec1
parent 63006 89d19aa73081
child 63352 4eaf35781b23
equal deleted inserted replaced
63327:83a91a73fcb5 63335:d98164344ec1
   156       [Pretty.str (Long_Name.implode (map #1 (prefix @ qualifier) @ [name]))]
   156       [Pretty.str (Long_Name.implode (map #1 (prefix @ qualifier) @ [name]))]
   157     |> Pretty.quote;
   157     |> Pretty.quote;
   158 
   158 
   159 val print = Pretty.unformatted_string_of o pretty;
   159 val print = Pretty.unformatted_string_of o pretty;
   160 
   160 
   161 val _ = ML_system_pp (fn _ => fn _ => Pretty.to_polyml o pretty o set_pos Position.none);
   161 val _ = ML_system_pp (fn _ => fn _ => Pretty.to_polyml o pretty o reset_pos);
   162 
   162 
   163 
   163 
   164 (* check *)
   164 (* check *)
   165 
   165 
   166 fun bad binding = "Bad name binding: " ^ print binding ^ Position.here (pos_of binding);
   166 fun bad binding = "Bad name binding: " ^ print binding ^ Position.here (pos_of binding);