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-miou-unix
  98. happy-eyeballs-mirage
  99. http-lwt-client
  100. hvsock
  101. hxd < "0.2.0"
  102. icalendar
  103. index >= "1.3.2" & < "1.4.0"
  104. index-bench < "1.3.2" | >= "1.4.0"
  105. irmin >= "0.11.0" & < "0.12.0"
  106. irmin-bench >= "2.4.0"
  107. irmin-chunk >= "2.3.0"
  108. irmin-cli
  109. irmin-git >= "2.3.0"
  110. irmin-graphql >= "2.3.0"
  111. irmin-http >= "2.3.0"
  112. irmin-mirage >= "2.3.0"
  113. irmin-mirage-git >= "2.3.0"
  114. irmin-pack >= "2.3.0"
  115. irmin-server
  116. irmin-test >= "2.3.0"
  117. irmin-tezos
  118. irmin-unix >= "2.3.0"
  119. irmin-watcher
  120. jekyll-format < "0.3.1"
  121. jsonxt
  122. kappa-library
  123. letsencrypt < "0.4.1"
  124. letsencrypt-app < "0.4.1"
  125. letsencrypt-dns < "0.4.1"
  126. lwt-parallel >= "1.0.0"
  127. mbr-format >= "1.0.0"
  128. metrics >= "0.2.0" & < "0.4.0"
  129. metrics-influx < "0.4.0"
  130. metrics-rusage < "0.4.0"
  131. minima-theme
  132. mirage-block-solo5 >= "0.2.1" & < "0.6.2"
  133. mirage-block-unix >= "2.8.2" & < "2.11.1" | >= "2.12.0"
  134. mirage-device
  135. mirage-flow >= "1.2.0"
  136. mirage-flow-combinators < "3.0.0"
  137. mirage-flow-lwt
  138. mirage-flow-unix < "3.0.0"
  139. mirage-fs >= "1.0.0"
  140. mirage-fs-mem
  141. mirage-kv < "2.0.0"
  142. mirage-kv-mem
  143. mirage-net >= "1.1.1"
  144. mirage-net-solo5 >= "0.3.0" & < "0.7.0"
  145. mirage-protocols >= "1.2.0" & < "8.0.0"
  146. mirage-runtime < "3.10.5"
  147. mirage-stack < "4.0.0"
  148. mirage-xen >= "3.3.0" & < "6.0.0"
  149. mrmime < "0.5.0"
  150. multipart_form < "0.4.0"
  151. multipart_form-eio
  152. multipart_form-lwt
  153. ocluster
  154. ocluster-api
  155. odig < "0.0.4"
  156. odoc >= "2.0.0"
  157. omigrate < "0.1.1"
  158. opam-0install < "0.4.3"
  159. opam-0install-cudf < "0.4.1"
  160. opam-ci
  161. opium >= "0.19.0"
  162. optint >= "0.0.3"
  163. ortac-core
  164. ortac-dune
  165. ortac-qcheck-stm
  166. pa_ppx >= "0.12"
  167. pa_ppx_hashcons >= "0.10"
  168. pa_ppx_migrate >= "0.10"
  169. pa_ppx_parsetree
  170. pa_ppx_quotation2extension
  171. pa_ppx_regexp
  172. pa_ppx_static
  173. pa_ppx_string
  174. pa_ppx_unique >= "0.10"
  175. paf
  176. paf-cohttp
  177. papi
  178. pecu < "0.7"
  179. ppx_irmin < "2.2.0"
  180. ppx_lun
  181. ppx_repr >= "0.5.0"
  182. prelude
  183. prettym < "0.0.2"
  184. progress < "0.2.0"
  185. prometheus < "1.2"
  186. prometheus-app < "1.2"
  187. protocol-9p < "2.0.2"
  188. protocol-9p-tool
  189. protocol-9p-unix
  190. pumping
  191. qcow >= "0.9.5" & < "0.10.2"
  192. qcow-tool < "0.10.2"
  193. quickjs
  194. radis
  195. regenerate
  196. rosetta < "0.3.0"
  197. server-reason-react
  198. soupault < "3.2.0"
  199. spoke
  200. syndic >= "1.6.0"
  201. tcpip >= "3.0.0" & < "3.4.2"
  202. terminal
  203. tezos-base58
  204. tezos-context-hash-irmin
  205. tezos-test-helpers >= "12.0" & < "13.0"
  206. timere >= "0.8.0"
  207. timmy-jsoo
  208. timmy-unix
  209. tls >= "0.10.3" & < "0.15.0"
  210. tls-mirage < "0.15.0"
  211. toc
  212. topkg-care
  213. universal-portal
  214. unstrctrd < "0.3"
  215. uuuu < "0.2.0"
  216. vendredi
  217. vpnkit
  218. x509 >= "0.7.0" & < "0.8.1"
  219. yaml
  220. yuscii

Conflicts (1)

  1. cmdliner < "0.9.8"
OCaml

Innovation. Community. Security.