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

Conflicts (1)

  1. cmdliner < "1.3.0"