Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

Signature

val return : 'a -> ('a, _) X.t
val apply : ('a -> 'b, 'e) X.t -> ('a, 'e) X.t -> ('b, 'e) X.t
val map : ('a, 'e) X.t -> f:('a -> 'b) -> ('b, 'e) X.t
val map2 : ('a, 'e) X.t -> ('b, 'e) X.t -> f:('a -> 'b -> 'c) -> ('c, 'e) X.t
val map3 : ('a, 'e) X.t -> ('b, 'e) X.t -> ('c, 'e) X.t -> f:('a -> 'b -> 'c -> 'd) -> ('d, 'e) X.t
val all : ('a, 'e) X.t list -> ('a list, 'e) X.t
val all_unit : (unit, 'e) X.t list -> (unit, 'e) X.t
val all_ignore : (unit, 'e) X.t list -> (unit, 'e) X.t
  • deprecated [since 2018-02] Use [all_unit]
val both : ('a, 'e) X.t -> ('b, 'e) X.t -> ('a * 'b, 'e) X.t
module Applicative_infix : sig ... end
include module type of Applicative_infix
val (<*>) : ('a -> 'b, 'e) X.t -> ('a, 'e) X.t -> ('b, 'e) X.t
val (<*) : ('a, 'e) X.t -> (unit, 'e) X.t -> ('a, 'e) X.t
val (*>) : (unit, 'e) X.t -> ('a, 'e) X.t -> ('a, 'e) X.t