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

Conflicts (1)

  1. cmdliner < "0.9.8"
OCaml

Innovation. Community. Security.