package base

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Comparable.With_zeroSource

Parameters

module T : sig ... end

Signature

Sourceval validate_positive : T.t Validate.check
Sourceval validate_non_negative : T.t Validate.check
Sourceval validate_negative : T.t Validate.check
Sourceval validate_non_positive : T.t Validate.check
Sourceval is_positive : T.t -> bool
Sourceval is_non_negative : T.t -> bool
Sourceval is_negative : T.t -> bool
Sourceval is_non_positive : T.t -> bool
Sourceval sign : T.t -> Base__.Sign0.t

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