package lrgrep

  1. Overview
  2. Docs
Analyse the stack of a Menhir-generated LR parser using regular expressions

Install

dune-project
 Dependency

Authors

Maintainers

Sources

lrgrep-0.3.tbz
sha256=84a1874d0c063da371e19c84243aac7c40bfcb9aaf204251e0eb0d1f077f2cde
sha512=5a16ff42a196fd741bc64a1bdd45b4dca0098633e73aa665829a44625ec15382891c3643fa210dbe3704336eab095d4024e093e37ae5313810f6754de6119d55

doc/fix/Fix/Indexing/Gensym/index.html

Module Indexing.GensymSource

Gensym() creates an open-ended type-level set, whose cardinality is not known a priori. As long as the cardinal of the set has not been observed by invoking cardinal, new elements can be added to the set by invoking fresh.

Parameters

Signature

The type-level name n of the set and its cardinal n.

include CARDINAL
Sourcetype n
Sourceval fresh : unit -> n index

If cardinal n has not been invoked yet, then fresh() adds a new element to the set. Otherwise, calling fresh is forbidden and causes a runtime failure.