Module type Arrow_apply.WITH_ARROW_AND_SPLIT

Minimal definition using arrow and fst and apply.

type ('a, 'b) t

The type held by the Arrow_apply.

val apply : (('a, 'b) t * 'a, 'b) t

application of an arrow to an input.

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.