package fmt

  1. Overview
  2. Docs
OCaml Format pretty-printer combinators

Install

Dune Dependency

Authors

Maintainers

Sources

fmt-0.7.1.tbz
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)

  1. ocamlbuild build
  2. ocamlfind build
  3. ocaml >= "4.01.0" & < "4.06.0"

Dev Dependencies

None

  1. acgtk >= "1.5.0"
  2. albatross < "1.3.1"
  3. alcotest >= "0.4.9" & < "0.7.0"
  4. alcotest-async >= "1.3.0"
  5. alcotest-lwt >= "1.3.0"
  6. alcotest-mirage >= "1.3.0"
  7. arp >= "2.3.1" & < "3.0.0"
  8. arp-mirage
  9. awa
  10. baguette_sharp
  11. balancer
  12. bechamel < "0.2.0"
  13. bechamel-notty < "0.2.0"
  14. bechamel-perf < "0.2.0"
  15. biotk
  16. builder < "0.1.2"
  17. bun >= "0.3.3"
  18. ca-certs-nss < "3.71.0.1"
  19. callipyge >= "0.2"
  20. camels
  21. camlp5 >= "8.00"
  22. camlp5-buildscripts
  23. capnp-rpc < "1.2"
  24. capnp-rpc-lwt < "1.1"
  25. capnp-rpc-mirage < "1.2.1"
  26. capnp-rpc-net < "1.2.1"
  27. capnp-rpc-unix < "0.2"
  28. charrua-client < "0.9" | >= "1.3.0"
  29. charrua-client-lwt
  30. charrua-client-mirage < "0.12.0"
  31. checkseum >= "0.0.2"
  32. cohttp >= "0.22.0"
  33. cohttp-async < "1.0.0"
  34. cohttp-curl-async
  35. cohttp-eio
  36. cohttp-lwt-unix < "1.0.0"
  37. coin < "0.1.2"
  38. conan
  39. conan-cli
  40. conan-database
  41. conan-lwt
  42. conan-unix
  43. conduit-async = "3.0.0"
  44. conduit-lwt = "3.0.0"
  45. conex < "0.10.0"
  46. conex-mirage-crypto
  47. conex-nocrypto
  48. crunch >= "3.3.0"
  49. current_ansi
  50. current_docker < "0.5"
  51. current_examples < "0.5"
  52. current_git < "0.5"
  53. current_github < "0.5"
  54. current_ocluster
  55. current_slack < "0.5"
  56. current_web < "0.5"
  57. datakit
  58. datakit-bridge-github
  59. datakit-bridge-local-git
  60. datakit-ci
  61. datakit-client
  62. datakit-client-9p
  63. datakit-github
  64. datakit-server >= "0.9.0"
  65. decompress = "1.0.0" | >= "1.3.0" & < "1.4.3"
  66. depyt < "0.3.0"
  67. digestif >= "0.7" & < "1.2.0"
  68. dkim < "0.3.0"
  69. dkim-mirage >= "0.2.0"
  70. dns >= "4.0.0" & < "6.0.0"
  71. dns-forward
  72. dnssd
  73. dockerfile >= "2.0.0" & < "8.0.0"
  74. dockerfile-cmd < "8.0.0"
  75. dockerfile-opam = "4.0.0" | = "7.1.0"
  76. dog >= "0.2.1"
  77. dolmen_bin
  78. domain-name < "0.3.1"
  79. dream-cli
  80. duff >= "0.3" & < "0.5"
  81. dune-release < "1.3.0"
  82. electrod < "0.3.2"
  83. encore
  84. eqaf = "0.2"
  85. ethernet < "2.2.1"
  86. facteur
  87. functoria < "3.0.1"
  88. functoria-runtime < "3.1.2"
  89. git >= "1.8.0" & < "3.0.0"
  90. git-paf
  91. github-hooks
  92. glicko2
  93. gmap
  94. gpt
  95. happy-eyeballs < "0.0.8"
  96. happy-eyeballs-lwt
  97. happy-eyeballs-mirage
  98. http-lwt-client
  99. hvsock
  100. hxd < "0.2.0"
  101. icalendar
  102. index >= "1.3.2" & < "1.4.0"
  103. index-bench < "1.3.2" | >= "1.4.0"
  104. irmin >= "0.11.0" & < "0.12.0"
  105. irmin-bench >= "2.4.0"
  106. irmin-chunk >= "2.3.0"
  107. irmin-cli
  108. irmin-git >= "2.3.0"
  109. irmin-graphql >= "2.3.0"
  110. irmin-http >= "2.3.0"
  111. irmin-mirage >= "2.3.0"
  112. irmin-mirage-git >= "2.3.0"
  113. irmin-pack >= "2.3.0"
  114. irmin-server
  115. irmin-test >= "2.3.0"
  116. irmin-tezos
  117. irmin-unix >= "2.3.0"
  118. irmin-watcher
  119. jekyll-format < "0.3.1"
  120. jsonxt
  121. kappa-library
  122. letsencrypt < "0.4.1"
  123. letsencrypt-app < "0.4.1"
  124. letsencrypt-dns < "0.4.1"
  125. lwt-parallel >= "1.0.0"
  126. mbr-format >= "1.0.0"
  127. metrics >= "0.2.0" & < "0.4.0"
  128. metrics-influx < "0.4.0"
  129. metrics-rusage < "0.4.0"
  130. minima-theme
  131. mirage-block-solo5 >= "0.2.1" & < "0.6.2"
  132. mirage-block-unix >= "2.8.2" & < "2.11.1" | >= "2.12.0"
  133. mirage-device
  134. mirage-flow >= "1.2.0"
  135. mirage-flow-combinators < "3.0.0"
  136. mirage-flow-lwt
  137. mirage-flow-unix < "3.0.0"
  138. mirage-fs >= "1.0.0"
  139. mirage-fs-mem
  140. mirage-kv < "2.0.0"
  141. mirage-kv-mem
  142. mirage-net >= "1.1.1"
  143. mirage-net-solo5 >= "0.3.0" & < "0.7.0"
  144. mirage-protocols >= "1.2.0" & < "8.0.0"
  145. mirage-runtime < "3.10.5"
  146. mirage-stack < "4.0.0"
  147. mirage-xen >= "3.3.0" & < "6.0.0"
  148. mrmime < "0.5.0"
  149. multipart_form < "0.4.0"
  150. multipart_form-eio
  151. multipart_form-lwt
  152. ocluster
  153. ocluster-api
  154. odig < "0.0.4"
  155. odoc >= "2.0.0"
  156. omigrate < "0.1.1"
  157. opam-0install < "0.4.3"
  158. opam-0install-cudf < "0.4.1"
  159. opam-ci
  160. opium >= "0.19.0"
  161. optint >= "0.0.3"
  162. ortac-core
  163. ortac-qcheck-stm
  164. pa_ppx >= "0.12"
  165. pa_ppx_hashcons >= "0.10"
  166. pa_ppx_migrate >= "0.10"
  167. pa_ppx_parsetree
  168. pa_ppx_quotation2extension
  169. pa_ppx_regexp
  170. pa_ppx_static
  171. pa_ppx_string
  172. pa_ppx_unique >= "0.10"
  173. paf
  174. paf-cohttp
  175. papi
  176. pecu < "0.7"
  177. ppx_irmin < "2.2.0"
  178. ppx_lun
  179. ppx_repr >= "0.5.0"
  180. prettym < "0.0.2"
  181. progress < "0.2.0"
  182. prometheus < "1.2"
  183. prometheus-app < "1.2"
  184. protocol-9p < "2.0.2"
  185. protocol-9p-tool
  186. protocol-9p-unix
  187. pumping
  188. qcow >= "0.9.5" & < "0.10.2"
  189. qcow-tool < "0.10.2"
  190. quickjs
  191. radis
  192. regenerate
  193. rosetta < "0.3.0"
  194. server-reason-react
  195. soupault < "3.2.0"
  196. spoke
  197. syndic >= "1.6.0"
  198. tcpip >= "3.0.0" & < "3.4.2"
  199. terminal
  200. tezos-base58
  201. tezos-context-hash-irmin
  202. tezos-test-helpers >= "12.0" & < "13.0"
  203. timere >= "0.8.0"
  204. timmy-jsoo
  205. timmy-unix
  206. tls >= "0.10.3" & < "0.15.0"
  207. tls-mirage < "0.15.0"
  208. toc
  209. topkg-care
  210. universal-portal
  211. unstrctrd < "0.3"
  212. uuuu < "0.2.0"
  213. vendredi
  214. vpnkit
  215. x509 >= "0.7.0" & < "0.8.1"
  216. yaml
  217. yuscii

Conflicts (1)

  1. cmdliner < "0.9.8"