Module type Choice.WITH_DIMAP_AND_RIGHT

Minimal interface using dimap and right.

type ('a, 'b) t

The type held by the Choice Profunctor.

val dimap : ('a -> 'b) -> ('c -> 'd) -> ('b, 'c) t -> ('a, 'd) t
val right : ('a, 'b) t -> (('c, 'a) Stdlib.Either.t, ('c, 'b) Stdlib.Either.t) t

Act on the right parameter of the sum.