stdcompat

Compatibility module for OCaml standard library
Library stdcompat
Module Stdcompat . Stdlib . Bool
type t = bool =
| false
| true
  • since 4.08.0: type t = bool =

| false | true

val not : bool -> bool
  • since 4.08.0: val not : bool -> bool
val (&&) : bool -> bool -> bool
  • since 4.08.0: external (&&) : bool -> bool -> bool = "%sequand"
val (||) : bool -> bool -> bool
  • since 4.08.0: external (||) : bool -> bool -> bool = "%sequor"
val equal : bool -> bool -> bool
  • since 4.08.0: val equal : bool -> bool -> bool
val compare : bool -> bool -> int
  • since 4.08.0: val compare : bool -> bool -> int
val to_int : bool -> int
  • since 4.08.0: val to_int : bool -> int
val to_float : bool -> float
  • since 4.08.0: val to_float : bool -> float
val to_string : bool -> string
  • since 4.08.0: val to_string : bool -> string