containers

A modular, clean and powerful extension of the OCaml standard library
Library containers
Module type CCResult . MONAD

Monadic Operations

type 'a t
val return : 'a -> 'a t

Monadic return.

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

Monadic bind.