ocaml-containers/src/core/CCBool.ml
Simon Cruanes 96ed8a37ab feat: introduce shim modules for 4.08 compat
- also make `unlabel` an explicit operation
- use `Stdlib` instead of `Pervasives`
- remove some warnings in Format
2019-06-14 18:26:14 -05:00

16 lines
305 B
OCaml

(* This file is free software, part of containers. See file "license" for more details. *)
open CCShims_
type t = bool
let equal (a:bool) b = Stdlib.(=) a b
let compare (a:bool) b = Stdlib.compare a b
let negate = not
type 'a printer = Format.formatter -> 'a -> unit
let pp = Format.pp_print_bool