package batteries

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type (!'a, !'b) t = 'a * 'b
val make : 'a -> 'b -> 'a * 'b
val first : ('a * 'b) -> 'a
val second : ('a * 'b) -> 'b
val swap : ('a * 'b) -> 'b * 'a
val map : ('a -> 'c) -> ('b -> 'd) -> ('a * 'b) -> 'c * 'd
val mapn : ('a -> 'b) -> ('a * 'a) -> 'b * 'b
val map1 : ('a -> 'c) -> ('a * 'b) -> 'c * 'b
val map2 : ('b -> 'c) -> ('a * 'b) -> 'a * 'c
val curry : (('a * 'b) -> 'c) -> 'a -> 'b -> 'c
val uncurry : ('a -> 'b -> 'c) -> ('a * 'b) -> 'c
val print : ?first:string -> ?sep:string -> ?last:string -> ('o BatIO.output -> 'a -> unit) -> ('o BatIO.output -> 'b -> unit) -> 'o BatIO.output -> ('a * 'b) -> unit
val printn : ?first:string -> ?sep:string -> ?last:string -> ('o BatIO.output -> 'a -> unit) -> 'o BatIO.output -> ('a * 'a) -> unit
val compare : ?cmp1:('a -> 'a -> int) -> ?cmp2:('b -> 'b -> int) -> ('a * 'b) -> ('a * 'b) -> int
type !'a enumerable = 'a * 'a
val enum : 'a enumerable -> 'a BatEnum.t
val of_enum : 'a BatEnum.t -> 'a enumerable
val eq : 'a BatOrd.eq -> 'b BatOrd.eq -> ('a * 'b) BatOrd.eq
val ord : 'a BatOrd.ord -> 'b BatOrd.ord -> ('a * 'b) BatOrd.ord
val comp : 'a BatOrd.comp -> 'b BatOrd.comp -> ('a * 'b) BatOrd.comp
module Eq (T1 : BatOrd.Eq) (T2 : BatOrd.Eq) : sig ... end
module Ord (T1 : BatOrd.Ord) (T2 : BatOrd.Ord) : sig ... end
module Comp (T1 : BatOrd.Comp) (T2 : BatOrd.Comp) : sig ... end
OCaml

Innovation. Community. Security.