package orsetto

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

Open Affix to include the affix monad operators.

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

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

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 let+ : ('p, 'q, 'a) t -> ('a -> 'b) -> ('p, 'q, 'b) t

The conventional binding operators.

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

Innovation. Community. Security.