Selective.WITH_PURE_AND_BRANCH
Standard requirement including pure and branch.
pure
branch
type 'a t
The type held by the Selective.
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.
select
val pure : 'a -> 'a t
Create a new t.
t