package orsetto

  1. Overview
  2. Docs
A library of assorted structured data interchange languages

Install

Dune Dependency

Authors

Maintainers

Sources

r1.1.2.tar.gz
sha512=e260412b2dd0f98cfe3dc7ed5c31a694eb31c93cd207c51fa12675b790234ee0ad3bf07d9be17a4dc266fedfe55b14c967cad7bc0c9414063eef8afd59f3d0d1

doc/orsetto.cf/Cf_monad/Binary/index.html

Module Cf_monad.Binary

Binary Monad

A binary monad is a type with a single return parameter, which encapsulates a value of polymorphic type with one parameter.

module type Basis = Core.Binary.Basis

Use module B: Basis = struct ... end to define a module B that implements the core type and functions of a monad.

module type Profile = sig ... end

The signature of modules produced by the Create(B: Basis) functor.

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

Use module M = Create(B) to create a module that implements all the conventional interfaces of a monad.

OCaml

Innovation. Community. Security.

On This Page
  1. Binary Monad