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. mgit
  254. mgit-mkernel
  255. migra
  256. mimic < "0.0.7"
  257. minima-theme
  258. mirage >= "4.0.0"
  259. mirage-block >= "3.0.2"
  260. mirage-block-ramdisk
  261. mirage-block-solo5
  262. mirage-block-unikraft
  263. mirage-block-unix >= "2.12.1"
  264. mirage-block-xen
  265. mirage-channel >= "5.0.0"
  266. mirage-device
  267. mirage-flow
  268. mirage-flow-combinators
  269. mirage-flow-lwt
  270. mirage-flow-unix
  271. mirage-fs
  272. mirage-kv
  273. mirage-kv-mem
  274. mirage-logs
  275. mirage-nat
  276. mirage-net
  277. mirage-net-solo5
  278. mirage-net-unikraft
  279. mirage-protocols
  280. mirage-qubes
  281. mirage-runtime < "4.7.0"
  282. mirage-stack < "4.0.0"
  283. mirage-xen
  284. mkernel
  285. mlgpx
  286. mnet
  287. mnet-cli >= "0.0.5"
  288. mnet-dhcp
  289. mqtt
  290. mrmime < "0.6.0"
  291. mtbox
  292. multipart_form
  293. multipart_form-eio
  294. multipart_form-lwt
  295. multipart_form-miou
  296. neodriver_core >= "0.9.0"
  297. not-ocamlfind
  298. obuilder
  299. obuilder-spec >= "0.2"
  300. ocgtk < "0.1~preview2"
  301. ocluster >= "0.2"
  302. ocluster-api
  303. ocue
  304. odoc >= "2.1.1"
  305. omigrate
  306. opam-0install
  307. opam-0install-cudf < "0.4.1"
  308. opam-audit
  309. opam-check-npm-deps
  310. opam-ci
  311. opam-dune-lint
  312. opam-file-format >= "2.2.0"
  313. opam-graph
  314. opam-minver
  315. opam-repomin
  316. opium >= "0.19.0"
  317. optint
  318. ortac-core
  319. ortac-dune
  320. ortac-qcheck-stm
  321. ortac-runtime
  322. ortac-wrapper
  323. oskel
  324. oui
  325. owork
  326. oxbow
  327. pa_ppx >= "0.14"
  328. pa_ppx_fmtformat
  329. pa_ppx_hashcons >= "0.11"
  330. pa_ppx_migrate >= "0.11"
  331. pa_ppx_migrate_ocaml_parsetree
  332. pa_ppx_parsetree
  333. pa_ppx_quotation2extension
  334. pa_ppx_regexp
  335. pa_ppx_static
  336. pa_ppx_string
  337. pa_ppx_unique >= "0.11"
  338. paf
  339. paf-cohttp
  340. papi
  341. pecu
  342. pf-qubes
  343. picos_io_cohttp
  344. polymarket
  345. pplumbing < "0.0.16"
  346. pplumbing-log-cli
  347. ppx_irmin >= "3.0.0"
  348. ppx_lun
  349. ppx_repr >= "0.5.0"
  350. prelude < "0.5"
  351. prettym < "0.0.4"
  352. progress
  353. prom
  354. prometheus < "1.2"
  355. prometheus-app
  356. prometheus-eio
  357. prometheus-lwt
  358. prometheus-reporter
  359. protocol-9p
  360. protocol-9p-tool
  361. protocol-9p-unix
  362. pumping
  363. qcow
  364. qcow-tool
  365. quickjs < "0.2.0"
  366. randii
  367. rdf >= "0.13.0"
  368. repr
  369. rosetta < "0.3.0"
  370. rowex
  371. scfg >= "0.4"
  372. server-reason-react
  373. shakuhachi
  374. sihl < "0.2.0" | >= "0.3.0~rc2"
  375. sihl-core
  376. slipshow >= "0.3.0"
  377. smaws-lib
  378. smtml >= "0.7.0"
  379. snf_mcp
  380. sodium-fmt
  381. solo5-elftool
  382. soteria
  383. soupault
  384. spin >= "0.6.0"
  385. spoke
  386. spurs
  387. squirrel
  388. starred_ml
  389. statocaml
  390. stem
  391. stk
  392. stog >= "0.20.0"
  393. stramon-lib
  394. syguslib-utils
  395. symex
  396. syndic >= "1.6.0"
  397. syslog-rfc5424 >= "0.2"
  398. tally
  399. tcpip
  400. term-indexing
  401. term-tools
  402. terminal
  403. testcontainers
  404. tezos-base58
  405. tezos-context-hash
  406. timedesc < "0.8.0"
  407. timere
  408. timmy
  409. timmy-jsoo
  410. timmy-unix
  411. tls
  412. tls-mirage
  413. toc
  414. topkg-care
  415. tw
  416. unic
  417. uniq
  418. universal-portal
  419. unstrctrd
  420. uring
  421. uspf
  422. utcp
  423. uuuu < "0.2.0"
  424. vchan-unix
  425. vendredi
  426. verdict
  427. vhd-format-lwt >= "0.13.0"
  428. vif
  429. vnnlib
  430. wayland
  431. wire
  432. x509 >= "0.7.0"
  433. xdge
  434. yaml
  435. yocaml >= "2.0.0"
  436. yocaml_runtime
  437. yocaml_syndication >= "2.0.0"
  438. 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