src/Pure/Tools/find_consts.ML
changeset 56763 70371621fdb6
parent 56760 ef5df088e022
child 56891 48899c43b07d
equal deleted inserted replaced
56762:539fe017905a 56763:70371621fdb6
   118     Pretty.str
   118     Pretty.str
   119      (if null matches
   119      (if null matches
   120       then "nothing found"
   120       then "nothing found"
   121       else "found " ^ string_of_int (length matches) ^ " constant(s):") ::
   121       else "found " ^ string_of_int (length matches) ^ " constant(s):") ::
   122     Pretty.str "" ::
   122     Pretty.str "" ::
   123     map (Pretty.item o single o pretty_const ctxt) matches
   123     grouped 10 Par_List.map (Pretty.item o single o pretty_const ctxt) matches
   124   end |> Pretty.fbreaks |> curry Pretty.blk 0;
   124   end |> Pretty.fbreaks |> curry Pretty.blk 0;
   125 
   125 
   126 fun find_consts ctxt args = Pretty.writeln (pretty_consts ctxt args);
   126 fun find_consts ctxt args = Pretty.writeln (pretty_consts ctxt args);
   127 
   127 
   128 
   128