Via_pure_and_apply.Req
type ('a, 'index) t
The type held by the Indexed Applicative.
Indexed Applicative
include Preface_specs.Indexed_applicative.WITH_PURE with type ('a, 'index) t := ('a, 'index) t
val pure : 'a -> ('a, 'index) t
Lift a value from 'a into a new t.
'a
t
include Preface_specs.Indexed_apply.WITH_APPLY with type ('a, 'index) t := ('a, 'index) t
val apply : ('a -> 'b, 'index) t -> ('a, 'index) t -> ('b, 'index) t
May apply a function wrapped into an t to a value also wrapped into an t.