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