equal
deleted
inserted
replaced
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 = |