package orsetto

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

r1.1.tar.gz
sha256=6e6f59fc6a2c590b1b377e40f2120a548e6f09e61e7eb12ffa45cf2d517316b8
md5=533153cd4a9fe8093d3b98afc1073bc8

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

Module Cf_monad.Trinary

Trinary Monad

A trinary monad is a type with a single return parameter, which encapsulates a value of polymorphic type with two parameters.

module type Basis = Core.Trinary.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 ('p, 'q, 'r) t := ('p, 'q, '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. Trinary Monad