package octez-internal-libs

  1. Overview
  2. Docs
A package that contains some libraries used by the Octez suite

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65

doc/octez-internal-libs.irmin/Irmin/Merge/Infix/index.html

Module Merge.InfixSource

Infix operators for manipulating merge results and promises.

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

Merge Result Combinators

Sourceval (>>=*) : ('a, conflict) result Lwt.t -> ('a -> ('b, conflict) result Lwt.t) -> ('b, conflict) result Lwt.t

>>=* is bind.

Sourceval (>|=*) : ('a, conflict) result Lwt.t -> ('a -> 'b) -> ('b, conflict) result Lwt.t

>|=* is map.

Promise Combinators

This is useful to manipulate lca results.

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

>>=? is bind_promise.

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

>|=? is map_promise.

OCaml

Innovation. Community. Security.