package fmt

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

Install

Dune Dependency

Authors

Maintainers

Sources

fmt-0.8.0.tbz
sha256=fd221052a9d2c9be0a8f32d14b2cb35d72ec6f7cd828244759392adbec8ac79b
md5=41956d1d0fe32a1281326786cd208005

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 ISC license.

README

Fmt — OCaml Format pretty-printer combinators

v0.8.0

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 ISC 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 (5)

  1. result
  2. topkg build & >= "0.7.5"
  3. ocamlbuild build
  4. ocamlfind build
  5. ocaml >= "4.01.0" & < "5.0"

Dev Dependencies

None

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

Conflicts (1)

  1. cmdliner < "0.9.8"
OCaml

Innovation. Community. Security.