Indexed_selective.WITH_SELECT
Minimal definition using select without Indexed_applicative requirements.
select
Indexed_applicative
type ('a, 'index) t
The type held by the Indexed Selective.
Indexed Selective
val select : (('a, 'b) Stdlib.Either.t, 'index) t -> ('a -> 'b, 'index) t -> ('b, 'index) t
select e f apply f if e is Left. It allow to skip effect using Right.
select e f
f
e
Left
Right