Module type QCheck2.Shrink.Number

module type Number = sig .. end

Util module representing a number type, used for ad hoc polymorphism of some functions like QCheck2.Shrink.number_towards.


type t 
val equal : t -> t -> bool
val div : t -> t -> t
val add : t -> t -> t
val sub : t -> t -> t
val of_int : int -> t