package preface
Module Choice.Over_profunctor_via_left
Parameters
module P : Preface_specs.Profunctor.COREmodule L : Preface_specs.Choice.WITH_LEFT with type ('a, 'b) t = ('a, 'b) P.tSignature
Type
type ('a, 'b) t = ('a, 'b) L.tThe type held by the Choice.
Functions
Type
Functions
val left :
('a, 'b) t ->
(('a, 'c) Preface_core.Shims.Either.t, ('b, 'c) Preface_core.Shims.Either.t)
tAct on the left parameter of the sum.
val right :
('a, 'b) t ->
(('c, 'a) Preface_core.Shims.Either.t, ('c, 'b) Preface_core.Shims.Either.t)
tAct on the right parameter of the sum.