Module type Selective.WITH_BRANCH

Minimal definition using branch without Applicative requirements.

type 'a t

The type held by the Selective.

inline

include Indexed_selective.WITH_BRANCH with type ('a, _) t := 'a t
val branch : ('a, 'b) Stdlib.Either.t t -> ('a -> 'c) t -> ('b -> 'c) t -> 'c t

branch is like select. It chooses between two effects.