Parameters
Label : Stdlib.Set.OrderedTypeData : Grp
Signature
type label = Label.tKeys of the trie structure are label list.
type data = Data.tData on nodes of tries are finite sets of data.
type tThe trie data structure. Essentially a finite map with keys label list and content data Set.t.
val empty : tThe empty trie.
val get : t -> dataGet the data at the current node.
val next : t -> label -> tnext t lbl returns the subtrie of t pointed by lbl.
- raises Not_found
if there is none.
val labels : t -> label listGet the list of defined labels at the current node.
val add : label list -> data -> t -> tadd t path v adds v at path path in t.
val remove : label list -> data -> t -> tremove t path v removes v from path path in t.
val iter : (label list -> data -> unit) -> t -> unitApply a function to all contents.