package irmin-graphql

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
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

Let syntax

Monadic syntax

val let* : 'a Lwt.t -> ('a -> 'b Lwt.t) -> 'b Lwt.t

Syntax for bind.

val and* : 'a Lwt.t -> 'b Lwt.t -> ('a * 'b) Lwt.t

Syntax for both.

Applicative syntax

val let+ : 'a Lwt.t -> ('a -> 'b) -> 'b Lwt.t

Syntax for map.

val and+ : 'a Lwt.t -> 'b Lwt.t -> ('a * 'b) Lwt.t

Syntax for both.

val (>>=) : 'a Lwt.t -> ('a -> 'b Lwt.t) -> 'b Lwt.t
val (>|=) : 'a Lwt.t -> ('a -> 'b) -> 'b Lwt.t

Dependency extensions

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

Innovation. Community. Security.