package ocamlformat-lib

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

Install

Dune Dependency

Authors

Maintainers

Sources

ocamlformat-0.26.0.tbz
sha256=031494ab770cef10a8f6aa1cbeb5660e46c3aa6c0cd457b110fec859a75e877d
sha512=35c0131f04c2c8ceb94f0f400e4b56690405ddebb482aec0c9962163001d9fd5b593455df08b508394949f2740ba28f1714dff9e1f17b618bdec62fd26fae281

doc/ocamlformat-lib.ocaml_common/Ocaml_common/Syntaxerr/index.html

Module Ocaml_common.SyntaxerrSource

Auxiliary type for reporting syntax errors

Warning: this module is unstable and part of compiler-libs.

Sourcetype error =
  1. | Unclosed of Location.t * string * Location.t * string
  2. | Expecting of Location.t * string
  3. | Not_expecting of Location.t * string
  4. | Applicative_path of Location.t
  5. | Variable_in_scope of Location.t * string
  6. | Other of Location.t
  7. | Ill_formed_ast of Location.t * string
  8. | Invalid_package_type of Location.t * string
  9. | Removed_string_set of Location.t
Sourceexception Error of error
Sourceexception Escape_error
Sourceval location_of_error : error -> Location.t
Sourceval ill_formed_ast : Location.t -> string -> 'a
OCaml

Innovation. Community. Security.