package orsetto

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

Module Monad.Affix

Open Affix to include the affix monad operators.

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

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

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

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

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

The conventional binding operators.

val (and+) : 'a t -> 'b t -> ('a * 'b) t
val (let*) : 'a t -> ('a -> 'b t) -> 'b t
val (and*) : 'a t -> 'b t -> ('a * 'b) t
OCaml

Innovation. Community. Security.