package fmt

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

Install

Dune Dependency

Authors

Maintainers

Sources

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

  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-dune
  164. ortac-qcheck-stm
  165. pa_ppx >= "0.12"
  166. pa_ppx_hashcons >= "0.10"
  167. pa_ppx_migrate >= "0.10"
  168. pa_ppx_parsetree
  169. pa_ppx_quotation2extension
  170. pa_ppx_regexp
  171. pa_ppx_static
  172. pa_ppx_string
  173. pa_ppx_unique >= "0.10"
  174. paf
  175. paf-cohttp
  176. papi
  177. pecu < "0.7"
  178. ppx_irmin < "2.2.0"
  179. ppx_lun
  180. ppx_repr >= "0.5.0"
  181. prelude
  182. prettym < "0.0.2"
  183. progress < "0.2.0"
  184. prometheus < "1.2"
  185. prometheus-app < "1.2"
  186. protocol-9p < "2.0.2"
  187. protocol-9p-tool
  188. protocol-9p-unix
  189. pumping
  190. qcow >= "0.9.5" & < "0.10.2"
  191. qcow-tool < "0.10.2"
  192. quickjs
  193. radis
  194. regenerate
  195. rosetta < "0.3.0"
  196. server-reason-react
  197. soupault < "3.2.0"
  198. spoke
  199. syndic >= "1.6.0"
  200. tcpip >= "3.0.0" & < "3.4.2"
  201. terminal
  202. tezos-base58
  203. tezos-context-hash-irmin
  204. tezos-test-helpers >= "12.0" & < "13.0"
  205. timere >= "0.8.0"
  206. timmy-jsoo
  207. timmy-unix
  208. tls >= "0.10.3" & < "0.15.0"
  209. tls-mirage < "0.15.0"
  210. toc
  211. topkg-care
  212. universal-portal
  213. unstrctrd < "0.3"
  214. uuuu < "0.2.0"
  215. vendredi
  216. vpnkit
  217. x509 >= "0.7.0" & < "0.8.1"
  218. yaml
  219. yuscii

Conflicts (1)

  1. cmdliner < "0.9.8"
OCaml

Innovation. Community. Security.