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 +'r t

The abstract type of monad with a parameter for its return type.

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

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

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

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