package batteries

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type !'a bound_t = [
  1. | `c of 'a
  2. | `o of 'a
  3. | `u
]
type (!'a, !'b) bounding_f = bounds:('a bound_t * 'a bound_t) -> 'a -> 'b
val bounding_of_ord : default_low:'b -> default_high:'b -> ('a -> 'b) -> ('a -> 'a -> BatOrd.order) -> ('a, 'b) bounding_f
val bounding_of_ord_chain : low:('a -> 'b) -> high:('a -> 'b) -> ('a -> 'b) -> ('a -> 'a -> BatOrd.order) -> ('a, 'b) bounding_f
val saturate_of_ord : bounds:('a bound_t * 'a bound_t) -> ('a -> 'a -> BatOrd.order) -> 'a -> 'a
val opt_of_ord : bounds:('a bound_t * 'a bound_t) -> ('a -> 'a -> BatOrd.order) -> 'a -> 'a option
module type BoundedType = sig ... end
module type BoundedNumericType = sig ... end
module type S = sig ... end
module type NumericSig = sig ... end
module Make (M : BoundedType) : sig ... end
module MakeNumeric (M : BoundedNumericType) : sig ... end
OCaml

Innovation. Community. Security.