mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-09 12:45:34 -05:00
18 lines
414 B
OCaml
18 lines
414 B
OCaml
|
|
(* This file is free software, part of containers. See file "license" for more details. *)
|
|
|
|
(** {1 Basic Bool functions} *)
|
|
|
|
type t = bool
|
|
|
|
val compare : t -> t -> int
|
|
(** Total ordering on booleans, similar to {!Pervasives.compare} *)
|
|
|
|
val equal : t -> t -> bool
|
|
|
|
val negate : t -> t
|
|
(** Negation on booleans (functional version of [not]) *)
|
|
|
|
type 'a printer = Format.formatter -> 'a -> unit
|
|
|
|
val pp : t printer
|