package acgtk

  1. Overview
  2. Docs
Abstract Categorial Grammar development toolkit

Install

Dune Dependency

Authors

Maintainers

Sources

acg-2.1.0-20240219.tar.gz
sha512=5d380a947658fb1201895cb4cb449b1f60f54914c563e85181d628a89f045c1dd7b5b2226bb7865dd090f87caa9187e0ea6c7a4ee3dc3dda340d404c4e76c7c2

doc/acgtk.datalogLib/DatalogLib/Datalog_AbstractSyntax/ConstGen/index.html

Module Datalog_AbstractSyntax.ConstGenSource

Sourcetype id

The type of the identifier generated

Sourcetype t

The type of the generator

Sourceval init : unit -> t

init () returns a new generator

Sourceval get_fresh_id : t -> id * t

get_fresh_id gen returnds a pair (id,gen') where id is a fresh id and gen' a new generator that knows id was already generated.

Sourceval eq : id -> id -> bool

eq id1 id2 returns true if id1=id2 and fase otherwise.

Sourceval compare : id -> id -> int

compare id1 id2 returns an integer which is 0 if id1=id2, negative of id1 is less than id2 and positive otherwise.

Sourceval id_to_string : id -> string
Sourcemodule IdMap : Map.S with type key = id

IdMap implements maps whose keys are identifiers

Table implements correspondance tables with the current identifiers

OCaml

Innovation. Community. Security.