Module Merge.Infix

Infix operators for manipulating merge results and promises.

open Irmin.Merge.Infix at the top of your file to use them.

Merge Result Combinators

val (>>=*) : ('aconflict) Stdlib.result Lwt.t -> ('a -> ('bconflict) Stdlib.result Lwt.t) -> ('bconflict) Stdlib.result Lwt.t

>>=* is bind.

val (>|=*) : ('aconflict) Stdlib.result Lwt.t -> ('a -> 'b) -> ('bconflict) Stdlib.result Lwt.t

>|=* is map.

Promise Combinators

val (>>=?) : 'a promise -> ('a -> 'b promise) -> 'b promise

>>=? is bind_promise.

val (>|=?) : 'a promise -> ('a -> 'b) -> 'b promise

>|=? is map_promise.