package lrgrep

  1. Overview
  2. Docs
Detailed error messages for Menhir-generated parsers

Install

dune-project
 Dependency

Authors

Maintainers

Sources

lrgrep-0.9.tbz
sha256=e53de12e4c5cbe6bca00643593266b4f9fa2e3f6a138195eeff7a4329f5c1c75
sha512=7fd7c4d11506fea7cc11c9bbf5aea9142d905643553c0c90e1bb16b794106b0c14a266acf89ae91b6929008dc0ba6515f788642873e2e4ba6c3d49bd45d25127

doc/fix/Fix/GraphNumbering/Make/index.html

Module GraphNumbering.MakeSource

Make(M)(G) produces a numbering of the graph G, or more precisely, of the subset of the vertices of G that are reachable from the roots. The type of the vertices must be equipped with an implementation of imperative maps.

Parameters

module M : sig ... end
module G : sig ... end

Signature

Sourcetype t = G.t

The type t of values of interest.

Sourceval n : int

n is the number of values of type t that have been encoded. The functions encode and decode represent an isomorphism between this subset of t and the interval [0..n).

Sourceval encode : t -> int

encode maps a value of type t to an integer code in the interval [0..n).

Sourceval decode : int -> t

decode maps an integer code in the interval [0..n) back to a value of type t.