Parameters
- Label : Stdlib.Set.OrderedType
- Data : Grp
Signature
- type label-  = Label.t
- Keys of the trie structure are - label list.
 
- type data-  = Data.t
- Data on nodes of tries are finite sets of - data.
 
- type t
- The trie data structure. Essentially a finite map with keys - label listand content- data Set.t.
 
- val empty : t
- The empty trie. 
- val get : t -> data
- Get the data at the current node. 
- val next : t -> label -> t
- next t lblreturns the subtrie of- tpointed by- lbl.
 - raises Not_found
- if there is none. 
 
- val labels : t -> label list
- Get the list of defined labels at the current node. 
- val add : label list -> data -> t -> t
- add t path vadds- vat path- pathin- t.
 
- val remove : label list -> data -> t -> t
- remove t path vremoves- vfrom path- pathin- t.
 
- val iter : (label list -> data -> unit) -> t -> unit
- Apply a function to all contents.