package orsetto

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

A module type that defines the infix monad operators.

type ('m, +'r) t

The abstract type of monad with two parameters, a phantom type and a return type.

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

Use m >>= f as a convenient way to express bind m f.

val (>>:) : ('m, 'a) t -> ('a -> 'b) -> ('m, 'b) t

Use m >>: f as a convenient way to express map m f.