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_scan/ASCII/Affix/index.html

Module ASCII.Affix

Combinator operators

Open Affix to include the affix monad operators.

Include the monad affix 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
val (?.) : char -> char t

The prefix operator version of the one composer.

val (?/) : 'r t -> 'r option t

The prefix operator version of the opt composer.

val (?+) : 'r t -> ('r * 'r list) t

A prefix operator that works like the seq ~a:1 p composer.

val (?*) : 'r t -> 'r list t

The prefix operator version of the seq composer.

val (?^) : 'r t list -> 'r t

The prefix operator version of the alt composer.

val (?^~) : 'r t Seq.t -> 'r t

The prefix operator version of the altz composer.

OCaml

Innovation. Community. Security.