package orsetto

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

This module extends the usual set of affix operators.

include Cf_dfa.Affix with type event := Uchar.t and type term := term and type 'a fin := 'a fin
val (!:) : Uchar.t -> term

Use !: event as one event.

val (!^) : (Uchar.t -> bool) -> term

Use !^ f as sat f.

val (!?) : term -> term

Use !? term as opt term

val (!*) : term -> term

Use !* term as star term

val (!+) : term -> term

Use !+ term as seq ~a:1 term

val ($|) : term -> term -> term

Use a $| b as alt2 a b

val ($&) : term -> term -> term

Use a $& b as cat2 a b

val ($=) : term -> 'r -> 'r fin

Use term $= v as fin term v

val (!$) : string -> term

Using !:s is the same as string_to_term s.

val ($$=) : string -> 'a -> 'a fin

Using s $$= v is the same as fin (string_to_term s) v.

OCaml

Innovation. Community. Security.