package fmt

Build not checked
  1. Overview
  2. Docs
OCaml Format pretty-printer combinators

Install

dune-project
 Dependency

Authors

Maintainers

Sources

fmt-0.10.0.tbz
sha512=26d7f2002f0f1d605c08129ec09d487a8c37d764b77370e56b869fd94fe6bc903f808159ab7b79e85c2e2b6263ee5fa7df66f9f9625bdf0e726e8a92a9056258

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.

Home page: http://erratique.ch/software/fmt

Tags

string format pretty-print org:erratique

Added to opam-repository:

README

Fmt — OCaml Format pretty-printer combinators

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

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 can be consulted online or via odig doc fmt.

Questions are welcome but better asked on the OCaml forum than on the issue tracker.

Dependencies (4)

  1. topkg build & >= "1.0.3"
  2. ocamlbuild build
  3. ocamlfind build
  4. ocaml >= "4.08.0"

Dev Dependencies

None

Optional Dependencies (2)

  1. cmdliner
  2. base-unix

  1. acgtk != "2.1.0"
  2. activitypub
  3. albatross
  4. alcotest
  5. alcotest-async
  6. alcotest-js
  7. alcotest-lwt
  8. alcotest-mirage
  9. alt-ergo-lib >= "2.5.1"
  10. ansi
  11. api-watch
  12. arc >= "0.0.2"
  13. arp
  14. art
  15. awa
  16. baguette_sharp
  17. balancer
  18. bancos
  19. bank
  20. base64 >= "3.5.1"
  21. bcfg
  22. bechamel
  23. bechamel-js
  24. bechamel-notty
  25. bechamel-perf
  26. biotk
  27. bos
  28. builder
  29. builder-web
  30. bun >= "0.3.3"
  31. ca-certs >= "0.2.3"
  32. ca-certs-nss
  33. cachet >= "0.0.4"
  34. cactus
  35. caisar
  36. caldav
  37. callipyge >= "0.2"
  38. camels
  39. camlid
  40. camlp5 >= "8.00.02"
  41. camlp5-buildscripts
  42. capnp-rpc
  43. capnp-rpc-lwt < "2.0"
  44. capnp-rpc-net
  45. capnp-rpc-unix
  46. carton < "1.0.0"
  47. carton-git
  48. carton-lwt < "1.0.0"
  49. carton-miou
  50. carton-miou-unix
  51. cascade
  52. cattery
  53. cborl
  54. chamelon
  55. chamelon-unix
  56. chamo
  57. charrua >= "2.0.0"
  58. charrua-client
  59. charrua-unix >= "2.0.0"
  60. checkseum >= "0.0.2"
  61. clim-ppx
  62. cmdtui < "0.4.3"
  63. cmdtui-lambda-term
  64. coap
  65. coap-core
  66. coap-server-lwt
  67. cohttp
  68. cohttp-async
  69. cohttp-curl-async
  70. cohttp-eio
  71. cohttp-lwt-unix
  72. cohttp-lwt-unix-bin
  73. cohttp-mirage
  74. coin < "0.1.2"
  75. colombe
  76. conan
  77. conan-cli
  78. conan-database
  79. conan-lwt
  80. conan-unix
  81. conduit-mirage >= "6.2.2"
  82. conex < "0.10.0"
  83. conex-mirage-crypto
  84. confero
  85. console
  86. console-eio
  87. craml
  88. crunch >= "4.0.0"
  89. css
  90. cstruct >= "6.2.0"
  91. current >= "0.6.2"
  92. current-web-pipelines
  93. current_ansi
  94. current_docker
  95. current_examples
  96. current_git
  97. current_github
  98. current_gitlab
  99. current_ocluster
  100. current_rpc
  101. current_slack
  102. current_web
  103. dap >= "1.1.0"
  104. datakit-server
  105. decompress = "1.0.0" | >= "1.3.0"
  106. deepseek
  107. depyt
  108. diffast-git-cli
  109. digestif >= "0.9.0"
  110. diskuvbox
  111. dkim
  112. dkim-bin
  113. dkim-mirage
  114. dkml-dune-dsl-show
  115. dkml-install
  116. dkml-install-installer
  117. dkml-install-runner
  118. dmarc >= "0.0.3"
  119. dns >= "4.4.1"
  120. dns-cli
  121. dns-client != "7.0.3"
  122. dns-forward
  123. dnssd
  124. docfd
  125. dockerfile
  126. dockerfile-cmd
  127. dockerfile-opam >= "8.2.7"
  128. docteur
  129. dolmen >= "0.5"
  130. dolmen_bin
  131. domain-name < "0.4.1"
  132. dream
  133. dream-cli
  134. dream-inertia
  135. duff
  136. dune-release >= "1.1.0"
  137. dunolint
  138. earlybird
  139. echo
  140. eio
  141. eio_linux
  142. eio_posix
  143. eio_windows >= "0.14"
  144. electrod
  145. emile < "0.8"
  146. encore
  147. eqaf = "0.2" | >= "0.9"
  148. facteur
  149. fat-filesystem >= "0.15.1"
  150. fluxt >= "0.0.1~beta6"
  151. fontforge-of-ocaml
  152. functoria
  153. functoria-runtime
  154. genspio >= "0.0.3"
  155. git
  156. git-cohttp
  157. git-cohttp-unix
  158. git-kv
  159. git-mirage
  160. git-paf
  161. git-unix >= "3.2.0"
  162. github-hooks
  163. glicko2
  164. gmap
  165. gospel
  166. gpt
  167. grace
  168. graphql_parser >= "0.13.0"
  169. happy-eyeballs
  170. happy-eyeballs-lwt
  171. happy-eyeballs-miou-unix
  172. happy-eyeballs-mirage
  173. http-cookie >= "4.0.0" & < "4.3.0"
  174. http-lwt-client
  175. http-multipart-formdata
  176. httpcats
  177. hvsock
  178. hxd < "0.3.0"
  179. icalendar
  180. index
  181. index-bench
  182. irmin
  183. irmin-bench
  184. irmin-chunk
  185. irmin-cli
  186. irmin-client
  187. irmin-git
  188. irmin-graphql
  189. irmin-http
  190. irmin-mirage
  191. irmin-mirage-git
  192. irmin-pack
  193. irmin-server
  194. irmin-test
  195. irmin-tezos
  196. irmin-unix
  197. irmin-watcher
  198. jekyll-format
  199. jsonxt
  200. jws
  201. jwto >= "0.2.0"
  202. k7
  203. kappa-library
  204. ke
  205. kmt
  206. lab >= "0.1.4"
  207. lambda_streams
  208. ldp
  209. letsencrypt
  210. letsencrypt-app
  211. letsencrypt-dns
  212. letters
  213. libdrm
  214. libinput
  215. lintcstubs
  216. logs-async-reporter
  217. lwt-parallel
  218. MlFront_Cache
  219. MlFront_Cli < "2.3.1"
  220. MlFront_Codept
  221. MlFront_Errors
  222. MlFront_Logs
  223. MlFront_Tools
  224. mbr-format
  225. mcrunch
  226. mdx
  227. mel-bastet
  228. memtrace_viewer < "v0.15.0"
  229. metrics
  230. metrics-influx
  231. metrics-rusage
  232. metrics-unix
  233. mfat
  234. mfetch
  235. migra
  236. mimic < "0.0.7"
  237. minima-theme
  238. mirage >= "4.0.0"
  239. mirage-block >= "3.0.2"
  240. mirage-block-ramdisk
  241. mirage-block-solo5
  242. mirage-block-unikraft
  243. mirage-block-unix >= "2.12.1"
  244. mirage-block-xen
  245. mirage-channel >= "5.0.0"
  246. mirage-device
  247. mirage-flow
  248. mirage-flow-combinators
  249. mirage-flow-lwt
  250. mirage-flow-unix
  251. mirage-fs
  252. mirage-kv
  253. mirage-kv-mem
  254. mirage-logs
  255. mirage-nat
  256. mirage-net
  257. mirage-net-solo5
  258. mirage-net-unikraft
  259. mirage-protocols
  260. mirage-qubes
  261. mirage-runtime < "4.7.0"
  262. mirage-stack < "4.0.0"
  263. mirage-xen
  264. mkernel
  265. mlgpx
  266. mnet
  267. mnet-cli >= "0.0.5"
  268. mnet-dhcp
  269. mqtt
  270. mrmime < "0.6.0"
  271. mtbox
  272. multipart_form
  273. multipart_form-eio
  274. multipart_form-lwt
  275. multipart_form-miou
  276. neodriver_core >= "0.9.0"
  277. not-ocamlfind
  278. obuilder
  279. obuilder-spec >= "0.2"
  280. ocgtk < "0.1~preview2"
  281. ocluster >= "0.2"
  282. ocluster-api
  283. ocue
  284. odoc >= "2.1.1"
  285. omigrate
  286. opam-0install
  287. opam-0install-cudf < "0.4.1"
  288. opam-check-npm-deps
  289. opam-ci
  290. opam-dune-lint
  291. opam-file-format >= "2.2.0"
  292. opam-graph
  293. opam-minver
  294. opam-repomin
  295. opium >= "0.19.0"
  296. optint
  297. ortac-core
  298. ortac-dune
  299. ortac-qcheck-stm
  300. ortac-runtime
  301. ortac-wrapper
  302. oskel
  303. oui
  304. owork
  305. pa_ppx >= "0.14"
  306. pa_ppx_fmtformat
  307. pa_ppx_hashcons >= "0.11"
  308. pa_ppx_migrate >= "0.11"
  309. pa_ppx_migrate_ocaml_parsetree
  310. pa_ppx_parsetree
  311. pa_ppx_quotation2extension
  312. pa_ppx_regexp
  313. pa_ppx_static
  314. pa_ppx_string
  315. pa_ppx_unique >= "0.11"
  316. paf
  317. paf-cohttp
  318. papi
  319. pecu
  320. pf-qubes
  321. picos_io_cohttp
  322. polymarket
  323. pplumbing < "0.0.16"
  324. pplumbing-log-cli
  325. ppx_irmin >= "3.0.0"
  326. ppx_lun
  327. ppx_repr >= "0.5.0"
  328. prelude < "0.5"
  329. prettym < "0.0.4"
  330. progress
  331. prom
  332. prometheus < "1.2"
  333. prometheus-app
  334. prometheus-eio
  335. prometheus-lwt
  336. prometheus-reporter
  337. protocol-9p
  338. protocol-9p-tool
  339. protocol-9p-unix
  340. pumping
  341. qcow
  342. qcow-tool
  343. quickjs < "0.2.0"
  344. randii
  345. rdf >= "0.13.0"
  346. repr
  347. rosetta < "0.3.0"
  348. rowex
  349. scfg >= "0.4"
  350. server-reason-react
  351. shakuhachi
  352. sihl < "0.2.0" | >= "0.3.0~rc2"
  353. sihl-core
  354. slipshow >= "0.3.0"
  355. smaws-lib
  356. smtml >= "0.7.0"
  357. snf_mcp
  358. sodium-fmt
  359. solo5-elftool
  360. soteria
  361. soupault
  362. spin >= "0.6.0"
  363. spoke
  364. spurs
  365. squirrel
  366. starred_ml
  367. statocaml
  368. stem
  369. stk
  370. stog >= "0.20.0"
  371. stramon-lib
  372. syguslib-utils
  373. symex
  374. syndic >= "1.6.0"
  375. tcpip
  376. term-indexing
  377. term-tools
  378. terminal
  379. testcontainers
  380. tezos-base58
  381. tezos-context-hash
  382. timedesc < "0.8.0"
  383. timere
  384. timmy
  385. timmy-jsoo
  386. timmy-unix
  387. tls
  388. tls-mirage
  389. toc
  390. topkg-care
  391. tw
  392. unic
  393. uniq
  394. universal-portal
  395. unstrctrd
  396. uring
  397. uspf
  398. utcp
  399. uuuu < "0.2.0"
  400. vchan-unix
  401. vendredi
  402. verdict
  403. vhd-format-lwt >= "0.13.0"
  404. wayland
  405. wire
  406. x509 >= "0.7.0"
  407. xdge >= "1.1.0"
  408. yaml
  409. yocaml >= "2.0.0"
  410. yocaml_runtime
  411. yocaml_syndication >= "2.0.0"
  412. yuscii

Conflicts (1)

  1. cmdliner < "1.3.0"

Build status

Results of building fmt with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

This version is not in the latest run; the versions below are.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.11.0 good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure