package acgtk

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

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.