Selective.Core_over_applicative_via_branch
module Req : Preface_specs.Selective.WITH_BRANCH with type 'a t = 'a Applicative.t
type 'a t = 'a Req.t
The type held by the Selective
.
inline
include Preface_specs.Indexed_selective.CORE with type ('a, _) t := 'a t
select e f
apply f
if e
is Left
. It allow to skip effect using Right
.
branch
is like select
. It chooses between two effects.
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
.