src/Tools/Code/code_ml.ML
changeset 38916 c0b857a04758
parent 38915 026526cba0e6
child 38921 15f8cffdbf5d
equal deleted inserted replaced
38915:026526cba0e6 38916:c0b857a04758
   935       (deresolver (if is_some module_name then the_list module_name else [])) stmt_names;
   935       (deresolver (if is_some module_name then the_list module_name else [])) stmt_names;
   936     val p = Pretty.chunks2 (map snd includes @ snd (print_nodes [] nodes));
   936     val p = Pretty.chunks2 (map snd includes @ snd (print_nodes [] nodes));
   937     fun write width NONE = writeln_pretty width
   937     fun write width NONE = writeln_pretty width
   938       | write width (SOME p) = File.write p o string_of_pretty width;
   938       | write width (SOME p) = File.write p o string_of_pretty width;
   939   in
   939   in
   940     Code_Target.mk_serialization write (fn width => (rpair stmt_names' o string_of_pretty width)) p
   940     Code_Target.serialization write (fn width => (rpair stmt_names' o string_of_pretty width)) p
   941   end;
   941   end;
   942 
   942 
   943 end; (*local*)
   943 end; (*local*)
   944 
   944 
   945 
   945