Frama-C API - Make
Parameters
Signature
val is_empty : 'a t -> boolval add : key -> 'a -> 'a t -> 'a tval mem : key -> 'a t -> boolval find : key -> 'a t -> 'aval findk : key -> 'a t -> key * 'aval remove : key -> 'a t -> 'a tval insert : (key -> 'a -> 'a -> 'a) -> key -> 'a -> 'a t -> 'a tinsert (fun key v old -> ...) key v map
val change : (key -> 'b -> 'a option -> 'a option) -> key -> 'b -> 'a t -> 'a tval filter : (key -> 'a -> bool) -> 'a t -> 'a tval partition : (key -> 'a -> bool) -> 'a t -> 'a t * 'a tval map : ('a -> 'b) -> 'a t -> 'b tval mapi : (key -> 'a -> 'b) -> 'a t -> 'b tval mapf : (key -> 'a -> 'b option) -> 'a t -> 'b tval mapq : (key -> 'a -> 'a option) -> 'a t -> 'a tval iter : (key -> 'a -> unit) -> 'a t -> unitval iter_sorted : (key -> 'a -> unit) -> 'a t -> unitval fold : (key -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'bval fold_sorted : (key -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'bval union : (key -> 'a -> 'a -> 'a) -> 'a t -> 'a t -> 'a tval inter : (key -> 'a -> 'b -> 'c) -> 'a t -> 'b t -> 'c tval interf : (key -> 'a -> 'b -> 'c option) -> 'a t -> 'b t -> 'c tval interq : (key -> 'a -> 'a -> 'a option) -> 'a t -> 'a t -> 'a tval diffq : (key -> 'a -> 'a -> 'a option) -> 'a t -> 'a t -> 'a tval subset : (key -> 'a -> 'b -> bool) -> 'a t -> 'b t -> boolval equal : ('a -> 'a -> bool) -> 'a t -> 'a t -> boolval iterk : (key -> 'a -> 'b -> unit) -> 'a t -> 'b t -> unitval iter2 : (key -> 'a option -> 'b option -> unit) -> 'a t -> 'b t -> unitval merge : (key -> 'a option -> 'b option -> 'c option) -> 'a t -> 'b t -> 'c t