package monads

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Lifts collection interface into the monad.

This module provides two functors that take a basic collection interface and provide the Monad.Collection.S interface.

See Monad.Collection for more information.

module type S = Collection.S with type 'a m := 'a T1(M).t
module Eager (T : Collection.Eager) : S with type 'a t := 'a T.t

Eager(C) derives Monad.Collection.S for container C

module Delay (T : Collection.Delay) : S with type 'a t := 'a T.t

Delay(C) derives Monad.Collection.S for container C

OCaml

Innovation. Community. Security.