package ocaml-version

  1. Overview
  2. Docs

Configuration parameters that affect the behaviour of OCaml at compiler-build-time.

type o = [
  1. | `Afl
  2. | `Default_unsafe_string
  3. | `Flambda
  4. | `Force_safe_string
  5. | `Frame_pointer
]

Configuration options available at compiler build time.

val to_string : o -> string

to_string o returns a compact representation of o suitable for use in opam version strings.

val to_description : o -> string

to_description o returns a human-readable representation of o.

val to_configure_flag : o -> string

to_configure_flag o returns a string that can be passed to OCaml's configure script to activate that feature.