package pretty_expressive
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=d5192e8dc99348aa2a2924672f8f122c5953e8c5d9b5b37abee59e6c25487995
sha512=d9a2cebc18a48b64ee87027063cb17386e22da126e6a1cab065ba9f9e6ce26837813234dc303f4a5e16c45de6f1f9ee0b8d2bdeba07667de779b1693862c1399
CHANGES.md.html
0.4 (2024-02-14)
Fix a critical issue in
two_columns
: remove phantom spaces, and adjust costs to ensure optimality.Mark
two_columns
as experimental.
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