Mono.Applicative
type 'a t = ('a, T.t) Bifunctor.t
The type held by the Applicative
.
include Preface_specs.Indexed_applicative.WITH_PURE
with type ('a, 'index) t := 'a t
include Preface_specs.Indexed_applicative.WITH_PURE
with type ('a, 'index) t := 'a t
include Preface_specs.Indexed_apply.WITH_MAP_AND_PRODUCT
with type ('a, 'index) t := 'a t
include Preface_specs.Indexed_functor.WITH_MAP with type ('a, 'index) t := 'a t
include Preface_specs.Indexed_applicative.WITH_PURE
with type ('a, 'index) t := 'a t
val pure : 'a -> 'a t
Lift a value from 'a
into a new t
.
Lift a ternary function that acts on arbitrary values into a function that acts t
values.
Create a new t
, replacing all values of the given functor by given a value of 'a
.
module Infix :
Preface_specs.Indexed_applicative.INFIX with type ('a, 'index) t := 'a t
Applicative
functor of ('a -> 'b) t
over ('a, 'index) t
to ('b, 'index) t
.
Flipped Applicative
functor of ('a -> 'b) t
over ('a, 'index) t
to ('b, 'index) t
.
Infix version of CORE
.map.
Flipped and infix version of CORE
.map.
Flipped and infix version of OPERATION
.replace.
module Syntax :
Preface_specs.Indexed_applicative.SYNTAX with type ('a, 'index) t := 'a t
module Traversable
(A : Preface_specs.Applicative.API) :
Preface_specs.Traversable.API with type 'a iter = 'a t and type 'a t = 'a A.t