package fmt
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=45fa1d6a163635cf005c3e805a54243ca5a0a5a0e5642bb73cca1ce2d74ac1f1
md5=484dd80fbf6a11fed59a71f69b3ec4b1
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 BSD3 license.
README
Fmt — OCaml Format pretty-printer combinators
Release 0.7.1
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 BSD3 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 (3)
-
ocamlbuild
build
-
ocamlfind
build
-
ocaml
>= "4.01.0" & < "4.06.0"
Dev Dependencies
None
-
acgtk
>= "1.5.0"
-
albatross
< "1.3.1"
-
alcotest
>= "0.4.9" & < "0.7.0"
-
alcotest-async
>= "1.3.0"
-
alcotest-lwt
>= "1.3.0"
-
alcotest-mirage
>= "1.3.0"
- api-watch
-
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
-
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"
-
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"
- 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
-
happy-eyeballs
< "0.0.8"
- happy-eyeballs-lwt
- happy-eyeballs-miou-unix
- happy-eyeballs-mirage
- http-lwt-client
- hvsock
-
hxd
< "0.2.0"
- icalendar
-
index
>= "1.3.2" & < "1.4.0"
-
index-bench
< "1.3.2" | >= "1.4.0"
-
irmin
>= "0.11.0" & < "0.12.0"
-
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
- 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
-
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"
- 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
-
rosetta
< "0.3.0"
- server-reason-react
-
soupault
< "3.2.0"
- spoke
-
syndic
>= "1.6.0"
-
tcpip
>= "3.0.0" & < "3.4.2"
- 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
-
yocaml
>= "2.0.0"
-
yocaml_syndication
>= "2.0.0"
- yuscii
Conflicts (1)
-
cmdliner
< "0.9.8"