Parameter Via_pure_and_lift2.Req

include Preface_specs.Applicative.WITH_PURE_AND_LIFT2
type 'a t

The type held by the Applicative.

inline

include Preface_specs.Indexed_applicative.WITH_PURE_AND_LIFT2 with type ('a, _) 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.

include Preface_specs.Indexed_apply.WITH_LIFT2 with type ('a, 'index) t := 'a t
val lift2 : ('a -> 'b -> 'c) -> 'a t -> 'b t -> 'c t

Lift a binary function that acts on arbitrary values into a function that acts t values.

include Preface_specs.Alternative.WITH_NEUTRAL_AND_COMBINE with type 'a t := 'a t
val combine : 'a t -> 'a t -> 'a t

Combine two values of t into one.

val neutral : 'a t

The neutral element of the Alternative.