package acgtk

  1. Overview
  2. Docs
Abstract Categorial Grammar development toolkit

Install

dune-project
 Dependency

Authors

Maintainers

Sources

acg-2.2.0-20251107.tar.gz
sha512=07f391d052090bb70c10ec511fdc53af764954cbe1c30093778984c5ed41a4327573fdac0890c6fd619ff9827725572eb7b8a7545bd8ccb7f5bddb84d2d7f7cc

doc/acgtk.logic/Logic/Expand/AddSet/index.html

Module Expand.AddSetSource

The AddSet module implements a trie data structure to represent sets of Address.t addresses

Sourcetype t

t is the type of sets of addresses

Sourceval empty : t

empty is the empty set of addresses

Sourceval mem : Address.t -> t -> bool

mem add s returns true if add is in the set s and false otherwise.

Sourceval add : Address.t -> t -> t

add a s adds the address a into the set s. s is unchanged if a already belonged to s.

Sourceval iter : (Address.t -> unit) -> t -> unit

iter f s iterates the function f on every elements of s.