Alias.Operation
An alias of CORE
.compose with flipped argument.
val return : unit -> ('a, 'a) t
Represent the identity Arrow
.
Send the second component of the input through the given Arrow
, and copy the rest unchanged to the output.
Send the input to both argument arrows and combine their output.
Pre composition with a function (the function should be pure).
Post composition with a function (the function should be pure).
Reversed version of Preface_specs.Arrow.OPERATION.pre_compose_left_to_right
.
Reversed version of Preface_specs.Arrow.OPERATION.post_compose_left_to_right
.
times n x
apply combine
on x
n
times. If n
is lower than 1
the function will returns None
.
val reduce_nel : ('a, 'b) t Preface_core.Nonempty_list.t -> ('a, 'b) t
Reduce a Nonempty_list.t
using combine
.
times_nel n x
apply combine
on x
n
times. If n
is lower than 1
the function will returns neutral
.