package preface

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'a t = 'a Applicative.t

The type held by the Selective.

inline

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

branch is like select. It chooses between two effects.

OCaml

Innovation. Community. Security.