equal
deleted
inserted
replaced
108 -> (string * Pretty.T) list (*includes*) |
108 -> (string * Pretty.T) list (*includes*) |
109 -> (string -> string option) (*module aliasses*) |
109 -> (string -> string option) (*module aliasses*) |
110 -> (string -> string option) (*class syntax*) |
110 -> (string -> string option) (*class syntax*) |
111 -> (string -> Code_Printer.tyco_syntax option) |
111 -> (string -> Code_Printer.tyco_syntax option) |
112 -> (string -> Code_Printer.activated_const_syntax option) |
112 -> (string -> Code_Printer.activated_const_syntax option) |
113 -> ((Pretty.T -> string) * (Pretty.T -> unit)) |
|
114 -> Code_Thingol.program |
113 -> Code_Thingol.program |
115 -> (string list * string list) (*selected statements*) |
114 -> (string list * string list) (*selected statements*) |
116 -> int |
115 -> int |
117 -> serialization; |
116 -> serialization; |
118 |
117 |
280 ^ commas (map (Sign.extern_const thy) empty_funs)); |
279 ^ commas (map (Sign.extern_const thy) empty_funs)); |
281 in |
280 in |
282 serializer module_name args (Code_Thingol.labelled_name thy program2) reserved includes |
281 serializer module_name args (Code_Thingol.labelled_name thy program2) reserved includes |
283 (if is_some module_name then K module_name else Symtab.lookup module_alias) |
282 (if is_some module_name then K module_name else Symtab.lookup module_alias) |
284 (Symtab.lookup class') (Symtab.lookup tyco') (Symtab.lookup const') |
283 (Symtab.lookup class') (Symtab.lookup tyco') (Symtab.lookup const') |
285 (Code_Printer.string_of_pretty width, Code_Printer.writeln_pretty width) |
|
286 program4 (names1, presentation_names) width |
284 program4 (names1, presentation_names) width |
287 end; |
285 end; |
288 |
286 |
289 fun mount_serializer thy alt_serializer target some_width raw_module_name args naming program names destination = |
287 fun mount_serializer thy alt_serializer target some_width raw_module_name args naming program names destination = |
290 let |
288 let |