Prelude.Bool
Prelude.Bool is Stdlib.Bool with additional Boolean functions; satisifes OrderedType.
Stdlib.Bool
OrderedType
include module type of struct include Stdlib.Bool end
type t = bool =
| false
| true
val not : bool -> bool
val (&&) : bool -> bool -> bool
val (||) : bool -> bool -> bool
val equal : bool -> bool -> bool
val compare : bool -> bool -> int
val to_int : bool -> int
val to_float : bool -> float
val to_string : bool -> string
val print : bool -> unit
print is (string_of_bool >> print_endline).
print
(string_of_bool >> print_endline)
val random : unit -> bool
random is Random.bool.
random
Random.bool