package orsetto

  1. Overview
  2. Docs
On This Page
  1. Binary Monad
Legend:
Library
Module
Module type
Parameter
Class
Class type
Binary Monad
module type Basis = sig ... end

Define a module of type Basis to make a monad with two type parameters, a phantom type and a return type.

module type Affix = sig ... end

A module type that defines the affix monad operators.

module type Profile = sig ... end

A module type that defines the core monad functions.

module Create (B : Basis) : Profile with type ('m, 'r) t := ('m, 'r) B.t

Use Create(B) to make the core monad functions for the basis module B.

module type Infix = Affix

Deprecated module type alias.

OCaml

Innovation. Community. Security.