deprecate CCBool.negate

This commit is contained in:
Simon Cruanes 2017-07-21 15:02:27 +02:00
parent 609d51c89e
commit b7b6bd19a3
2 changed files with 3 additions and 2 deletions

View file

@ -7,7 +7,7 @@ let equal (a:bool) b = a=b
let compare (a:bool) b = Pervasives.compare a b
let negate x = not x
let negate = not
type 'a printer = Format.formatter -> 'a -> unit

View file

@ -11,7 +11,8 @@ val compare : t -> t -> int
val equal : t -> t -> bool
val negate : t -> t
(** Negation on booleans (functional version of [not]) *)
(** Negation on booleans (functional version of [not])
@deprecate since NEXT_RELEASE, simply use {!not} instead *)
type 'a printer = Format.formatter -> 'a -> unit