package orsetto

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

Install

Dune Dependency

Authors

Maintainers

Sources

r1.1.tar.gz
sha256=6e6f59fc6a2c590b1b377e40f2120a548e6f09e61e7eb12ffa45cf2d517316b8
md5=533153cd4a9fe8093d3b98afc1073bc8

doc/orsetto.cf/Cf_lex_scan/Create/argument-1-B/Scan/Affix/index.html

Module Scan.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 (?.) : symbol -> symbol form 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.