1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
open CCShims_
type t = bool
let equal (a : bool) b = Stdlib.( = ) a b
let compare (a : bool) b = Stdlib.compare a b
let to_int (x : bool) : int =
if x then
1
else
0
let of_int x : t = x <> 0
type 'a printer = Format.formatter -> 'a -> unit
let pp = Format.pp_print_bool