package pp
- Overview
- No Docs
You can search for identifiers within the package.
in-package search v0.2.0
Pretty-printing library
Install
Authors
Maintainers
Sources
pp-1.2.0.tbz
sha256=a5e822573c55afb42db29ec56eacd1f2acd8f65cf2df2878e291de374ce6909c
sha512=912164c2aa7241d73f735dadfbefe8ed0138d241579d2e885440e068fac78eb9f0b3d782c2420e757e313168c1725daff6ab91800dd315b1e05288456998b40a
Description
This library provides a lean alternative to the Format 1 module of the OCaml standard library. It aims to make it easy for users to do the right thing. If you have tried Format before but find its API complicated and difficult to use, then Pp might be a good choice for you.
Pp uses the same concepts of boxes and break hints, and the final rendering is done to formatter from the Format module. However it defines its own algebra which some might find easier to work with and reason about. No previous knowledge is required to start using this library, however the various guides for the Format module such as this one 2 should be applicable to Pp as well.
Published: 15 Sep 2023
Dev Dependencies (2)
-
odoc
with-doc
-
ppx_expect
with-test
Used by (6)
-
dune-private-libs
>= "3.0.2"
- dune-rpc
- dyn
-
lsp
>= "1.6.1" & < "1.10.5"
-
ocaml-lsp-server
>= "1.6.1"
- stdune
Conflicts
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page