Module type Arrow_choice.WITH_ARROW_AND_SPLIT_AND_LEFT

Minimal definition using arrow and fst and left.

type ('a, 'b) t

The type held by the Arrow_choice.

val left : ('a, 'b) t -> (('a, 'c) Stdlib.Either.t, ('b, 'c) Stdlib.Either.t) t

Feed marked inputs through the argument arrow, passing the rest through unchanged to the output.

val arrow : ('a -> 'b) -> ('a, 'b) t

Lift a function to an Arrow.

val split : ('a, 'b) t -> ('c, 'd) t -> ('a * 'c, 'b * 'd) t

Split the input between the two given Arrows and combine their output.