Module type Selective.WITH_PURE_AND_BRANCH

Standard requirement including pure and branch.

type 'a t

The type held by the Selective.

inline

include Indexed_selective.WITH_PURE_AND_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.

val pure : 'a -> 'a t

Create a new t.