Module type Indexed_selective.WITH_SELECT

Minimal definition using select without Indexed_applicative requirements.

type ('a, 'index) t

The type held by the 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.