package ocamlformat

  1. Overview
  2. Docs
Auto-formatter for OCaml code

Install

Dune Dependency

Authors

Maintainers

Sources

ocamlformat-0.27.0.tbz
sha256=ddbf484c076d08f99400ee84b790ec231f5c8fcbd5d3324a6400d5388e846d15
sha512=4d2a8965a7b7ad45f8f4e76c01cf38bfa68462b07dfa7bdb2db23bd3e3017b214e6780f036679fa8595dde4167a01d957e3af8837274320449014e306773f917

Description

ocamlformat is a code formatter for OCaml. It comes with opinionated default settings but is also fully customizable to suit your coding style.

  • Profiles: ocamlformat offers profiles we predefined formatting configurations. Profiles include default, ocamlformat, janestreet.
  • Configurable: Users can change the formatting profile and configure every option in their .ocamlformat configuration file.
  • Format Comments: ocamlformat can format comments, docstrings, and even code blocks in your comments.
  • RPC: ocamlformat provides an RPC server that can be used by other tools to easily format OCaml Code.

Published: 03 Dec 2024

Dependencies (5)

  1. re >= "1.10.3"
  2. ocamlformat-lib = version
  3. dune >= "2.8"
  4. csexp >= "1.4.0"
  5. ocaml >= "4.08"

Dev Dependencies (3)

  1. odoc with-doc
  2. ocamlformat-rpc-lib with-test & = version
  3. cmdliner with-test = "false" & >= "1.1.0" | with-test & >= "1.2.0"

Used by (77)

  1. ask
  2. ask-integrator
  3. autofonce
  4. autofonce_config
  5. autofonce_core
  6. autofonce_lib
  7. autofonce_m4
  8. autofonce_misc
  9. autofonce_patch
  10. autofonce_share
  11. awsm-codegen
  12. bastet < "2.0.0"
  13. bitpack_serializer
  14. brisk-reconciler
  15. CamelCase
  16. coap
  17. coap-core
  18. coap-server-lwt
  19. diff
  20. diskuvbox < "0.1.2"
  21. dream-inertia
  22. drom
  23. drom_lib
  24. drom_toml
  25. dump_ocamlformat
  26. dune_deps_extra
  27. ez_cmdliner >= "0.2.0"
  28. ez_config >= "0.2.0"
  29. ez_file >= "0.2.0"
  30. ez_hash < "0.5.3"
  31. ez_opam_file
  32. ez_search
  33. ez_subst
  34. fromager
  35. guardian < "0.1.0"
  36. header-check
  37. js_of_ocaml-webgpu >= "0.2"
  38. junit >= "2.2.0"
  39. junit_alcotest >= "2.2.0"
  40. junit_ounit >= "2.2.0"
  41. letters >= "0.2.0" & != "0.3.1"
  42. melange-fest
  43. melange-json >= "1.2.0"
  44. melange-radix-icons >= "0.1.0"
  45. merge-fmt >= "0.4"
  46. miou >= "0.3.1"
  47. mlx
  48. module-graph
  49. mqtt
  50. noCanren >= "0.3.0~alpha1"
  51. OCanren-ppx = "0.3.0~alpha1"
  52. ocaml-lsp-server < "1.8.0" | >= "1.22.0"
  53. ocp-search
  54. ocplib_stuff >= "0.3.0"
  55. opam-bin >= "0.9.5"
  56. opam_bin_lib >= "0.9.5"
  57. owi >= "0.2"
  58. polars
  59. polars_async
  60. ppx_deriving_jsonschema
  61. prelude >= "0.4"
  62. psmt2-frontend >= "0.3.0"
  63. rea < "0.2.0"
  64. red-black-tree
  65. signal
  66. sihl < "0.1.0"
  67. slipshow >= "0.1.1"
  68. solidity-alcotest
  69. solidity-common
  70. solidity-parser
  71. solidity-test
  72. solidity-typechecker
  73. sqids
  74. styled-ppx
  75. tabr
  76. yocaml >= "2.0.0"
  77. zanuda < "1.1.0"

Conflicts

None

OCaml

Innovation. Community. Security.