src/Tools/Code/code_haskell.ML
changeset 39102 4ae1d212100f
parent 39058 551fe1af03b0
child 39142 f63715f00fdd
equal deleted inserted replaced
39071:928c5a5bdc93 39102:4ae1d212100f
   400           end
   400           end
   401       | write_module width NONE (_, content) = writeln (format [] width content);
   401       | write_module width NONE (_, content) = writeln (format [] width content);
   402   in
   402   in
   403     Code_Target.serialization
   403     Code_Target.serialization
   404       (fn width => fn destination => K () o map (write_module width destination))
   404       (fn width => fn destination => K () o map (write_module width destination))
   405       (fn present => fn width => rpair [] o format present width o Pretty.chunks o map snd)
   405       (fn present => fn width => rpair (fn _ => error "no deresolving") o format present width o Pretty.chunks o map snd)
   406       (map (uncurry print_module) includes
   406       (map (uncurry print_module) includes
   407         @ map serialize_module (Symtab.dest hs_program))
   407         @ map serialize_module (Symtab.dest hs_program))
   408   end;
   408   end;
   409 
   409 
   410 val serializer : Code_Target.serializer =
   410 val serializer : Code_Target.serializer =