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

Conflicts (1)

  1. cmdliner < "1.3.0"