package orsetto

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

Install

Dune Dependency

Authors

Maintainers

Sources

r1.1.1.tar.gz
sha256=81283687ce3204263bc955a332dd7b90bf5b648a990c01160f33aaa77d80962f
md5=7346293aa013c2a8974c6fb7c521166a

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

Module Cf_monad.Unary

Unary Monad

A unary monad is a type with a single return parameter, which encapsulates a value of monomorphic type.

module type Basis = Core.Unary.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 'r t := '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. Unary Monad