···
2
+
synopsis: "Pretty-printing library"
5
+
This library provides a lean alternative to the Format [1] module of
6
+
the OCaml standard library. It aims to make it easy for users to do
7
+
the right thing. If you have tried Format before but find its API
8
+
complicated and difficult to use, then Pp might be a good choice for
11
+
Pp uses the same concepts of boxes and break hints, and the final
12
+
rendering is done to formatter from the Format module. However it
13
+
defines its own algebra which some might find easier to work with and
14
+
reason about. No previous knowledge is required to start using this
15
+
library, however the various guides for the Format module such as this
16
+
one [2] should be applicable to Pp as well.
18
+
[1]: https://caml.inria.fr/pub/docs/manual-ocaml/libref/Format.html
19
+
[2]: http://caml.inria.fr/resources/doc/guides/format.en.html
21
+
maintainer: ["Jeremie Dimino <jeremie@dimino.org>"]
23
+
"Jane Street Group, LLC <opensource@janestreet.com>"
24
+
"Jeremie Dimino <jeremie@dimino.org>"
27
+
homepage: "https://github.com/ocaml-dune/pp"
28
+
doc: "https://ocaml-dune.github.io/pp/"
29
+
bug-reports: "https://github.com/ocaml-dune/pp/issues"
32
+
"ocaml" {>= "4.08.0"}
33
+
"ppx_expect" {with-test}
37
+
["dune" "subst"] {dev}
46
+
"@runtest" {with-test}
50
+
dev-repo: "git+https://github.com/ocaml-dune/pp.git"
53
+
"https://github.com/ocaml-dune/pp/releases/download/1.2.0/pp-1.2.0.tbz"
55
+
"sha256=a5e822573c55afb42db29ec56eacd1f2acd8f65cf2df2878e291de374ce6909c"
56
+
"sha512=912164c2aa7241d73f735dadfbefe8ed0138d241579d2e885440e068fac78eb9f0b3d782c2420e757e313168c1725daff6ab91800dd315b1e05288456998b40a"
59
+
x-commit-hash: "83b68c740f21acdcfe54436355ab328372871357"