package orsetto

  1. Overview
  2. Docs
A library of assorted structured data interchange languages

Install

Dune Dependency

Authors

Maintainers

Sources

r1.1.3.tar.gz
sha512=9b654edb663ae697563f150824047052f3b1bf760398f24bce6350553f031f73c46b6337239a1acd871e61238597ea92046809e3358290ff14d6ba671b449085

doc/orsetto.cf/Cf_scmonad/Affix/index.html

Module Cf_scmonad.Affix

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.