Module Comparable.Validate_with_zero
Parameters
T : sig ... end
Signature
include Validate with type t := T.t
val validate_bound : min:T.t Maybe_bound.t -> max:T.t Maybe_bound.t -> T.t Validate.checkval validate_ubound : max:T.t Maybe_bound.t -> T.t Validate.checkval validate_lbound : min:T.t Maybe_bound.t -> T.t Validate.check
include With_zero with type t := T.t
val sign : T.t -> Base__.Sign0.tReturns
Neg,Zero, orPosin a way consistent with the above functions.
val is_non_positive : T.t -> boolval is_negative : T.t -> boolval is_non_negative : T.t -> boolval is_positive : T.t -> boolval validate_non_positive : T.t Validate.checkval validate_negative : T.t Validate.checkval validate_non_negative : T.t Validate.checkval validate_positive : T.t Validate.check