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 ('p, 'q, +'r) t

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

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

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

val (>>:) : ('p, 'q, 'a) t -> ('a -> 'b) -> ('p, 'q, 'b) t

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