equal
deleted
inserted
replaced
360 end |
360 end |
361 | write_module width NONE (_, content) = writeln (format [] width content); |
361 | write_module width NONE (_, content) = writeln (format [] width content); |
362 in |
362 in |
363 Code_Target.serialization |
363 Code_Target.serialization |
364 (fn width => fn destination => K () o map (write_module width destination)) |
364 (fn width => fn destination => K () o map (write_module width destination)) |
365 (fn present => fn width => rpair (fn _ => error "no deresolving") |
365 (fn present => fn width => rpair (try (deresolver "")) |
366 o format present width o Pretty.chunks o map snd) |
366 o format present width o Pretty.chunks o map snd) |
367 (map (uncurry print_module_frame o apsnd single) includes |
367 (map (uncurry print_module_frame o apsnd single) includes |
368 @ map (fn module_name => print_module module_name (Graph.get_node haskell_program module_name)) |
368 @ map (fn module_name => print_module module_name (Graph.get_node haskell_program module_name)) |
369 ((flat o rev o Graph.strong_conn) haskell_program)) |
369 ((flat o rev o Graph.strong_conn) haskell_program)) |
370 end; |
370 end; |