Module Irmin_traces.Import

include module type of struct include Irmin.Export_for_backends end

Helper module containing useful top-level types for defining Irmin backends. This module is relatively unstable.

type read = Irmin.Perms.read
type write = Irmin.Perms.write
type read_write = Irmin.Perms.read_write

Lwt syntax

include module type of struct include Lwt.Syntax end
val let* : 'a Lwt.t -> ('a -> 'b Lwt.t) -> 'b Lwt.t
val and* : 'a Lwt.t -> 'b Lwt.t -> ('a * 'b) Lwt.t
val let+ : 'a Lwt.t -> ('a -> 'b) -> 'b Lwt.t
val and+ : 'a Lwt.t -> 'b Lwt.t -> ('a * 'b) Lwt.t
val (>>=) : 'a Lwt.t -> ('a -> 'b Lwt.t) -> 'b Lwt.t
val (>|=) : 'a Lwt.t -> ('a -> 'b) -> 'b Lwt.t

Dependency extensions

val shuffle : Stdlib.Random.State.t -> 'a array -> unit