jon.recoil.org

Module Ocaml_utils.Language_extension_kernel

Language extensions provided by the Jane Street version of the OCaml compiler. These are the parts of Language_extension that are required by Profile_counters_functions. Forward declaring these allow us to avoid a mutual dependency between files in utils/ and parsing/. Such a dependency prevents Merlin from compiling.

type maturity =
  1. | Stable
  2. | Beta
  3. | Alpha

The type of language extensions. An 'a t is an extension that can either be off or be set to have any value in 'a, so a unit t can be either on or off, while a maturity t can have different maturity settings.

val to_string : _ Ocaml_utils.Language_extension_kernel.t -> string

Print and parse language extensions; parsing is case-insensitive