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