package fmt

All checked builds pass
  1. Overview
  2. Docs
OCaml Format pretty-printer combinators

Install

dune-project
 Dependency

Authors

Maintainers

Sources

fmt-0.11.0.tbz
sha512=3f40155fc6a7315202e410585964307d63416c8001fd243667ed9d8d1a02b67deecacb25e9c2feb409c537bbdfb7817d91168de4ddd643532ff51d6c1c696a4a

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

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.11.0 (this version) 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