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

include With_zero with type t := T.t
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 -> Sign.t

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

OCaml

Innovation. Community. Security.