package fmt

  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

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

Conflicts (1)

  1. cmdliner < "1.3.0"