base

Full standard library replacement for OCaml
IN THIS PACKAGE

Parameters

module T : sig ... end

Signature

include With_zero with type t := T.t
val is_positive : T.t -> bool
val is_non_negative : T.t -> bool
val is_negative : T.t -> bool
val is_non_positive : T.t -> bool
val sign : T.t -> Sign.t

Returns Neg, Zero, or Pos in a way consistent with the above functions.