package pretty_expressive
A pretty expressive printer
Install
Dune Dependency
Authors
Maintainers
Sources
pretty_expressive-0.5.tbz
sha256=6d3adf12289b5ca838c782b6758982adaf1afa3d70cf8fd2cee0e6753f456b86
sha512=1cf8fb91761ce3adec91f7a14ece8ef4e25661e26b0be199759fe53cd11caf5609639cda9dc89f2dcf76c32cc35302fcb2022184e0cae1c020b0cd940892182e
doc/CHANGES.html
0.5 (2024-03-13)
- Improve performance in
two_columns
via the zipper data structure and caching. - Fix a bug caused from a wrong renderer is used due to memoization. Thanks to @zbyrn who reported the issue (#2)!
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
construct - Rename
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.
- Rename
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
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page