This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
41
unikernel/duniverse/pp/dune-project
Normal file
41
unikernel/duniverse/pp/dune-project
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
(lang dune 2.8)
|
||||
(name pp)
|
||||
(version 2.0.0)
|
||||
|
||||
(license MIT)
|
||||
(maintainers "Jeremie Dimino <jeremie@dimino.org>")
|
||||
(authors
|
||||
"Jane Street Group, LLC <opensource@janestreet.com>"
|
||||
"Jeremie Dimino <jeremie@dimino.org>")
|
||||
(source (github ocaml-dune/pp))
|
||||
(documentation "https://ocaml-dune.github.io/pp/")
|
||||
|
||||
(generate_opam_files true)
|
||||
|
||||
(package
|
||||
(name pp)
|
||||
(depends
|
||||
(ocaml (>= 4.08))
|
||||
(ppx_expect :with-test)
|
||||
(ocamlformat
|
||||
(and
|
||||
:with-dev-setup
|
||||
(= 0.26.2))))
|
||||
(synopsis "Pretty-printing library")
|
||||
(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.
|
||||
|
||||
[1]: https://caml.inria.fr/pub/docs/manual-ocaml/libref/Format.html
|
||||
[2]: http://caml.inria.fr/resources/doc/guides/format.en.html
|
||||
"))
|
||||
Loading…
Add table
Add a link
Reference in a new issue