equal
deleted
inserted
replaced
85 val symbolic_string_of: T -> string |
85 val symbolic_string_of: T -> string |
86 val unformatted_string_of: T -> string |
86 val unformatted_string_of: T -> string |
87 val output: output_ops -> T -> Bytes.T |
87 val output: output_ops -> T -> Bytes.T |
88 val string_of_ops: output_ops -> T -> string |
88 val string_of_ops: output_ops -> T -> string |
89 val string_of: T -> string |
89 val string_of: T -> string |
|
90 val strings_of: T -> string list |
90 val pure_string_of: T -> string |
91 val pure_string_of: T -> string |
91 val writeln: T -> unit |
92 val writeln: T -> unit |
92 val writeln_urgent: T -> unit |
93 val writeln_urgent: T -> unit |
93 val markup_chunks: Markup.T -> T list -> T |
94 val markup_chunks: Markup.T -> T list -> T |
94 val chunks: T list -> T |
95 val chunks: T list -> T |
525 fun output ops = if #symbolic ops then symbolic_output else format_tree ops; |
526 fun output ops = if #symbolic ops then symbolic_output else format_tree ops; |
526 |
527 |
527 fun string_of_ops ops = Bytes.content o output ops; |
528 fun string_of_ops ops = Bytes.content o output ops; |
528 fun string_of prt = string_of_ops (output_ops NONE) prt; |
529 fun string_of prt = string_of_ops (output_ops NONE) prt; |
529 |
530 |
|
531 fun strings_of prt = Bytes.contents (output (output_ops NONE) prt); |
|
532 |
530 val pure_string_of = string_of_ops (pure_output_ops NONE); |
533 val pure_string_of = string_of_ops (pure_output_ops NONE); |
531 |
534 |
532 fun gen_writeln urgent prt = |
535 fun gen_writeln urgent prt = |
533 (if urgent then Output.writelns_urgent else Output.writelns) |
536 (if urgent then Output.writelns_urgent else Output.writelns) |
534 (Bytes.contents (output (output_ops NONE) prt)); |
537 (Bytes.contents (output (output_ops NONE) prt)); |