Merge.Infix
Infix operators for manipulating merge results and promise
s.
open Irmin.Merge.Infix
at the top of your file to use them.
val (>>=*) :
('a, conflict) Stdlib.result Lwt.t ->
('a -> ('b, conflict) Stdlib.result Lwt.t) ->
('b, conflict) Stdlib.result Lwt.t
>>=*
is bind
.
>|=*
is map
.
This is useful to manipulate lca results.
>>=?
is bind_promise
.
>|=?
is map_promise
.