package aliases
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Module Ptree
val create : unit -> 'a tcreate () create an empty rafix tree
val clear : 'a t -> unitclear t clears the radix tree t
val insert : 'a t -> string -> 'a -> unitinsert tree str v insert the key str with value v in the radix tree tree
val remove : 'a t -> string -> 'a -> unitremote tree str v remove the key str with value v from the tree tree
val fold : 'a t -> string -> ('b -> 'a -> 'b * bool) -> 'b -> 'b * boolfold tree str f a fold over bindings in tree that matching str prefix. The boolean indicate whether or not the fold should be stopped even if more matching prefix exists.
val fold_with_max : 'a t -> max:int -> string -> ('b -> 'a -> 'b) -> 'b -> 'bfold ~max tree str f a fold over binding in tree that matching str prefix. It will fold at most max time