package pretty_expressive
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=a62e254d8acb0d2c92eaa9685a86b9003b9f46ddc0fee4af68834cbcc0dd5dd1
sha512=173754e8ca9bcbe7485b0d578cdbd5b98bb38b21d92b391446f9057ee0c2539ccec80f4a536994ca91904cf5e61f4f345bbf2e30157ce989b831ff3295884b31
CHANGES.md.html
0.3 (2024-02-11)
Add the
two_columns
constructRename
CostFacory.debug
toCostFactory.string_of_cost
Reorganize pretty printing functions:
Rename
Printer.Make.print
toPrinter.Make.pretty_format_info
(with slightly different signature)Rename
Printer.Make.pretty_print
toPrinter.Make.pretty_format
Add
Printer.Make.pretty_print
,Printer.Make.pretty_print_info
, andPrinter.Make.pretty_format_debug
.Essentially,
Printer.Make.pretty_print(*)
is suitable for printing to a channel.Printer.Make.pretty_format(*)
is suitable for printing as a string. The suffix_info
indicates that it returns debugging information.
0.2 (2023-11-28)
Change
<>
to^^
to avoid shadowing the not equal operator (thanks to @EmileTrotignon who made the suggestion in the OCaml forum).Improve documentation
Use mdx for documentation
0.1 (2023-11-26)
Initial release