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
  2. albatross < "1.4.3"
  3. alcotest-async
  4. alcotest-lwt
  5. alcotest-mirage
  6. api-watch
  7. awa
  8. baguette_sharp
  9. balancer
  10. bechamel < "0.2.0"
  11. bechamel-notty < "0.2.0"
  12. bechamel-perf < "0.2.0"
  13. biotk
  14. bos < "0.2.1"
  15. bun >= "0.3.3"
  16. ca-certs-nss < "3.71.0.1"
  17. callipyge >= "0.2"
  18. camels
  19. camlp5 >= "8.00.02"
  20. camlp5-buildscripts
  21. carton-miou-unix
  22. charrua-client
  23. checkseum >= "0.0.2"
  24. cmdtui < "0.4.3"
  25. cmdtui-lambda-term
  26. cohttp
  27. cohttp-curl-async
  28. cohttp-eio
  29. coin < "0.1.2"
  30. conan
  31. conan-cli
  32. conan-database
  33. conan-lwt
  34. conan-unix
  35. conex < "0.10.0"
  36. conex-mirage-crypto
  37. crunch >= "4.0.0"
  38. current_ansi
  39. current_ocluster
  40. datakit-server
  41. decompress = "1.0.0" | >= "1.3.0" & < "1.4.3"
  42. diffast-git-cli
  43. digestif >= "0.9.0" & < "1.3.0"
  44. dkim-mirage
  45. dns >= "4.4.1" & < "6.3.0"
  46. dns-forward
  47. dnssd
  48. dockerfile < "8.1.0"
  49. dockerfile-cmd < "8.2.7"
  50. dolmen_bin
  51. domain-name < "0.4.1"
  52. dream-cli
  53. dream-inertia
  54. duff >= "0.3" & < "0.5"
  55. dune-release < "1.3.0"
  56. electrod < "0.3.2"
  57. emile < "0.4" | >= "0.6" & < "0.8"
  58. encore
  59. eqaf = "0.2"
  60. facteur
  61. git < "3.2.0"
  62. git-paf
  63. github-hooks
  64. glicko2
  65. gmap
  66. gpt
  67. graphql_parser = "0.9.0" | >= "0.12.2" & < "0.14.0"
  68. happy-eyeballs < "0.1.3"
  69. happy-eyeballs-lwt
  70. happy-eyeballs-miou-unix
  71. happy-eyeballs-mirage
  72. http-lwt-client
  73. hvsock
  74. hxd < "0.3.0"
  75. icalendar
  76. index >= "1.3.2" & < "1.4.0"
  77. index-bench < "1.3.2" | >= "1.4.0"
  78. irmin-bench
  79. irmin-chunk
  80. irmin-cli
  81. irmin-git
  82. irmin-graphql
  83. irmin-http
  84. irmin-mirage
  85. irmin-mirage-git
  86. irmin-pack
  87. irmin-server
  88. irmin-test
  89. irmin-tezos
  90. irmin-unix
  91. irmin-watcher
  92. jekyll-format < "0.3.1"
  93. jsonxt
  94. jwto >= "0.2.0"
  95. kappa-library
  96. lwt-parallel
  97. mbr-format
  98. minima-theme
  99. mirage-block-unix >= "2.12.1"
  100. mirage-device
  101. mirage-flow
  102. mirage-flow-lwt
  103. mirage-fs
  104. mirage-kv < "2.0.0"
  105. mirage-kv-mem < "4.0.0"
  106. mirage-net
  107. mirage-protocols
  108. mirage-stack < "4.0.0"
  109. mrmime < "0.5.0"
  110. multipart_form < "0.4.0"
  111. multipart_form-eio
  112. multipart_form-lwt
  113. ocluster
  114. ocluster-api
  115. odoc >= "2.1.1"
  116. omigrate < "0.1.1"
  117. opam-0install < "0.4.3"
  118. opam-0install-cudf < "0.4.1"
  119. opam-ci
  120. opam-file-format >= "2.2.0~alpha1"
  121. opium >= "0.19.0"
  122. optint
  123. ortac-core
  124. ortac-dune
  125. ortac-qcheck-stm
  126. ortac-wrapper
  127. owork
  128. pa_ppx >= "0.14"
  129. pa_ppx_hashcons >= "0.11"
  130. pa_ppx_migrate >= "0.11"
  131. pa_ppx_migrate_ocaml_parsetree
  132. pa_ppx_parsetree
  133. pa_ppx_quotation2extension
  134. pa_ppx_regexp
  135. pa_ppx_static
  136. pa_ppx_string
  137. pa_ppx_unique >= "0.11"
  138. paf
  139. paf-cohttp
  140. papi
  141. pecu < "0.7"
  142. ppx_irmin < "2.2.0" | >= "3.0.0"
  143. ppx_lun
  144. ppx_repr >= "0.5.0"
  145. prelude < "0.5"
  146. prettym < "0.0.2"
  147. progress < "0.2.0"
  148. prometheus < "1.2"
  149. prometheus-app < "1.2"
  150. protocol-9p < "2.0.2"
  151. protocol-9p-tool
  152. protocol-9p-unix
  153. pumping
  154. qcow < "0.10.2"
  155. quickjs
  156. regenerate
  157. repr < "0.2.0"
  158. rosetta < "0.3.0"
  159. scfg >= "0.5"
  160. server-reason-react
  161. slipshow >= "0.3.0"
  162. snf_mcp
  163. soupault < "3.2.0"
  164. spoke
  165. spurs
  166. syndic >= "1.6.0"
  167. terminal
  168. tezos-base58
  169. tezos-context-hash-irmin
  170. tezos-test-helpers = "12.3"
  171. timere >= "0.8.0"
  172. timmy-jsoo
  173. timmy-unix
  174. tls < "0.15.2"
  175. tls-mirage < "0.15.4"
  176. toc
  177. universal-portal
  178. unstrctrd < "0.3"
  179. uuuu < "0.2.0"
  180. vendredi
  181. vhd-format-lwt >= "0.13.0"
  182. vpnkit
  183. x509 >= "0.7.0" & < "0.8.1"
  184. yaml
  185. yocaml >= "2.0.0"
  186. yocaml_syndication >= "2.0.0"
  187. yuscii

Conflicts (1)

  1. cmdliner < "0.9.8"
OCaml

Innovation. Community. Security.