package containers

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

Parameters

module X : sig ... end

Signature

type 'a t = X.t -> 'a

Definition of a monad in continuation-passing style.

val return : 'a -> 'a t

Monadic return.

val (>|=) : 'a t -> ('a -> 'b) -> 'b t

Monadic map.

val (>>=) : 'a t -> ('a -> 'b t) -> 'b t

Monadic bind.

OCaml

Innovation. Community. Security.