package fmt
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=fd221052a9d2c9be0a8f32d14b2cb35d72ec6f7cd828244759392adbec8ac79b
md5=41956d1d0fe32a1281326786cd208005
Description
Fmt exposes combinators to devise Format
pretty-printing functions.
Fmt depends only on the OCaml standard library. The optional Fmt_tty
library that allows to setup formatters for terminal color output
depends on the Unix library. The optional Fmt_cli
library that
provides command line support for Fmt depends on Cmdliner
.
Fmt is distributed under the ISC license.
README
Fmt — OCaml Format pretty-printer combinators
v0.8.0
Fmt exposes combinators to devise Format
pretty-printing functions.
Fmt depends only on the OCaml standard library. The optional Fmt_tty
library that allows to setup formatters for terminal color output depends on the Unix library. The optional Fmt_cli
library that provides command line support for Fmt depends on Cmdliner
.
Fmt is distributed under the ISC license.
Home page: http://erratique.ch/software/fmt
Contact: Daniel Bünzli <daniel.buenzl i@erratique.ch>
Installation
Fmt can be installed with opam
:
opam install fmt
opam install base-unix cmdliner fmt # Install all optional libraries
If you don't use opam
consult the opam
file for build instructions.
Documentation
The documentation and API reference is automatically generated by ocamldoc
from the interfaces. It can be consulted online and there is a generated version in the doc
directory of the distribution.
Sample programs
If you installed Fmt with opam
sample programs are located in the directory opam config var fmt:doc
.
In the distribution sample programs are located in the test
directory of the distribution. They can be built with:
ocamlbuild -use-ocamlfind test/tests.otarget
The resulting binaries are in _build/test
.
test.native
tests the library, nothing should fail.
Dependencies (5)
- result
-
topkg
build & >= "0.7.5"
-
ocamlbuild
build
-
ocamlfind
build
-
ocaml
>= "4.01.0" & < "5.0"
Dev Dependencies
None
-
acgtk
>= "1.5.0"
-
albatross
< "1.3.1"
-
alcotest
>= "0.4.9" & < "1.0.0"
-
alcotest-async
>= "1.3.0"
-
alcotest-lwt
>= "1.3.0"
-
alcotest-mirage
>= "1.3.0"
-
arp
>= "2.3.1" & < "3.0.0"
- arp-mirage
- awa
- baguette_sharp
- balancer
-
bechamel
< "0.2.0"
-
bechamel-notty
< "0.2.0"
-
bechamel-perf
< "0.2.0"
- biotk
-
bos
< "0.2.1"
-
builder
< "0.1.2"
-
bun
>= "0.3.3"
-
ca-certs-nss
< "3.71.0.1"
-
callipyge
>= "0.2"
- camels
-
camlp5
>= "8.00"
- camlp5-buildscripts
-
capnp-rpc
< "1.2"
-
capnp-rpc-lwt
< "1.1"
-
capnp-rpc-mirage
< "1.2.1"
-
capnp-rpc-net
< "1.2.1"
-
capnp-rpc-unix
< "0.2"
-
charrua-client
< "0.9" | >= "1.3.0"
- charrua-client-lwt
-
charrua-client-mirage
< "0.12.0"
-
checkseum
>= "0.0.2"
-
cmdtui
< "0.4.3"
- cmdtui-lambda-term
-
cohttp
>= "0.22.0"
-
cohttp-async
< "1.0.0"
- cohttp-curl-async
- cohttp-eio
-
cohttp-lwt-unix
< "1.0.0"
-
coin
< "0.1.2"
- conan
- conan-cli
- conan-database
- conan-lwt
- conan-unix
-
conduit-async
= "3.0.0"
-
conduit-lwt
= "3.0.0"
-
conex
< "0.10.0"
- conex-mirage-crypto
- conex-nocrypto
-
crunch
>= "3.3.0"
- current_ansi
-
current_docker
< "0.5"
-
current_examples
< "0.5"
-
current_git
< "0.5"
-
current_github
< "0.5"
- current_ocluster
-
current_slack
< "0.5"
-
current_web
< "0.5"
- datakit
- datakit-bridge-github
- datakit-bridge-local-git
- datakit-ci
- datakit-client
- datakit-client-9p
- datakit-github
-
datakit-server
>= "0.9.0"
-
decompress
= "1.0.0" | >= "1.3.0" & < "1.4.3"
-
depyt
< "0.3.0"
-
digestif
>= "0.7" & < "1.2.0"
-
dkim
< "0.3.0"
-
dkim-mirage
>= "0.2.0"
-
dns
>= "4.0.0" & < "6.0.0"
- dns-forward
- dnssd
-
dockerfile
>= "2.0.0" & < "8.0.0"
-
dockerfile-cmd
< "8.0.0"
-
dockerfile-opam
= "4.0.0" | = "7.1.0"
-
dog
>= "0.2.1"
- dolmen_bin
-
domain-name
< "0.3.1"
- dream-cli
-
duff
>= "0.3" & < "0.5"
-
dune-release
< "1.3.0"
-
electrod
< "0.3.2"
-
emile
< "0.4" | >= "0.6" & < "0.8"
- encore
-
eqaf
= "0.2"
-
ethernet
< "2.2.1"
- facteur
-
functoria
< "3.0.1"
-
functoria-runtime
< "3.1.2"
-
git
>= "1.8.0" & < "3.0.0"
- git-paf
- github-hooks
- glicko2
- gmap
- gpt
-
graphql_parser
= "0.9.0" | >= "0.12.2" & < "0.14.0"
-
happy-eyeballs
< "0.0.8"
- happy-eyeballs-lwt
- happy-eyeballs-miou-unix
- happy-eyeballs-mirage
- http-lwt-client
- hvsock
-
hxd
< "0.3.0"
- icalendar
-
index
>= "1.3.2" & < "1.4.0"
-
index-bench
< "1.3.2" | >= "1.4.0"
-
irmin
>= "0.11.0" & < "2.0.0" | = "3.3.2"
-
irmin-bench
>= "2.4.0"
-
irmin-chunk
>= "2.3.0"
- irmin-cli
-
irmin-git
>= "2.3.0"
-
irmin-graphql
>= "2.3.0"
-
irmin-http
>= "2.3.0"
-
irmin-mirage
>= "2.3.0"
-
irmin-mirage-git
>= "2.3.0"
-
irmin-pack
>= "2.3.0"
- irmin-server
-
irmin-test
>= "2.3.0"
- irmin-tezos
-
irmin-unix
>= "2.3.0"
- irmin-watcher
-
jekyll-format
< "0.3.1"
- jsonxt
-
jwto
>= "0.2.0"
- kappa-library
-
letsencrypt
< "0.4.1"
-
letsencrypt-app
< "0.4.1"
-
letsencrypt-dns
< "0.4.1"
-
lwt-parallel
>= "1.0.0"
-
mbr-format
>= "1.0.0"
-
metrics
>= "0.2.0" & < "0.4.0"
-
metrics-influx
< "0.4.0"
-
metrics-rusage
< "0.4.0"
- minima-theme
-
mirage-block-solo5
>= "0.2.1" & < "0.6.2"
-
mirage-block-unix
>= "2.8.2" & < "2.11.1" | >= "2.12.0"
- mirage-device
-
mirage-flow
>= "1.2.0"
-
mirage-flow-combinators
< "3.0.0"
- mirage-flow-lwt
-
mirage-flow-unix
< "3.0.0"
-
mirage-fs
>= "1.0.0"
- mirage-fs-mem
-
mirage-kv
< "2.0.0"
- mirage-kv-mem
-
mirage-net
>= "1.1.1"
-
mirage-net-solo5
>= "0.3.0" & < "0.7.0"
-
mirage-protocols
>= "1.2.0" & < "8.0.0"
-
mirage-runtime
< "3.10.5"
-
mirage-stack
< "4.0.0"
-
mirage-xen
>= "3.3.0" & < "6.0.0"
-
mrmime
< "0.5.0"
-
multipart_form
< "0.4.0"
- multipart_form-eio
- multipart_form-lwt
- ocluster
- ocluster-api
-
odig
< "0.0.4"
-
odoc
>= "2.0.0"
-
omigrate
< "0.1.1"
-
opam-0install
< "0.4.3"
-
opam-0install-cudf
< "0.4.1"
- opam-ci
-
opium
>= "0.19.0"
-
optint
>= "0.0.3"
- ortac-core
- ortac-dune
- ortac-qcheck-stm
- owork
-
pa_ppx
>= "0.12"
-
pa_ppx_hashcons
>= "0.10"
-
pa_ppx_migrate
>= "0.10"
- pa_ppx_parsetree
- pa_ppx_quotation2extension
- pa_ppx_regexp
- pa_ppx_static
- pa_ppx_string
-
pa_ppx_unique
>= "0.10"
- paf
- paf-cohttp
- papi
-
pecu
< "0.7"
-
ppx_irmin
< "2.2.0" | >= "3.0.0"
- ppx_lun
-
ppx_repr
>= "0.5.0"
- prelude
-
prettym
< "0.0.2"
-
progress
< "0.2.0"
-
prometheus
< "1.2"
-
prometheus-app
< "1.2"
-
protocol-9p
< "2.0.2"
- protocol-9p-tool
- protocol-9p-unix
- pumping
-
qcow
>= "0.9.5" & < "0.10.2"
-
qcow-tool
< "0.10.2"
- quickjs
- radis
- regenerate
-
repr
< "0.2.0"
-
rosetta
< "0.3.0"
- server-reason-react
-
soupault
< "3.2.0"
- spoke
-
syndic
>= "1.6.0"
-
tcpip
>= "3.0.0" & < "6.3.0"
- terminal
- tezos-base58
- tezos-context-hash-irmin
-
tezos-test-helpers
>= "12.0" & < "13.0"
-
timere
>= "0.8.0"
- timmy-jsoo
- timmy-unix
-
tls
>= "0.10.3" & < "0.15.0"
-
tls-mirage
< "0.15.0"
- toc
- topkg-care
- universal-portal
-
unstrctrd
< "0.3"
-
uuuu
< "0.2.0"
- vendredi
- vpnkit
-
x509
>= "0.7.0" & < "0.8.1"
- yaml
- yuscii
Conflicts (1)
-
cmdliner
< "0.9.8"