mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-07 19:55:31 -05:00
missing printer
This commit is contained in:
parent
7808ecb602
commit
b3cbb518b4
2 changed files with 2 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ type t = char
|
||||||
let equal (a:char) b = a=b
|
let equal (a:char) b = a=b
|
||||||
let compare = Char.compare
|
let compare = Char.compare
|
||||||
|
|
||||||
|
let pp = Buffer.add_char
|
||||||
let print = Format.pp_print_char
|
let print = Format.pp_print_char
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,5 +10,6 @@ type t = char
|
||||||
val equal : t -> t -> bool
|
val equal : t -> t -> bool
|
||||||
val compare : t -> t -> int
|
val compare : t -> t -> int
|
||||||
|
|
||||||
|
val pp : Buffer.t -> t -> unit
|
||||||
val print : Format.formatter -> t -> unit
|
val print : Format.formatter -> t -> unit
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue