Frama-C API - S
val is_empty : 'a t -> boolval add : key -> 'a -> 'a t -> 'a tval mem : key -> 'a t -> boolval find : key -> 'a t -> 'aval remove : key -> 'a t -> 'a tval compare : ('a -> 'a -> int) -> 'a t -> 'a t -> intval equal : ('a -> 'a -> bool) -> 'a t -> 'a t -> boolval iter : (key -> 'a -> unit) -> 'a t -> unitval map : (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 filter : (key -> 'a -> bool) -> 'a t -> 'a tval partition : (key -> 'a -> bool) -> 'a t -> 'a t * 'a tval fold : (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 merge : (key -> 'a option -> 'b option -> 'c option) -> 'a t -> 'b t -> 'c tval iter2 : (key -> 'a option -> 'b option -> unit) -> 'a t -> 'b t -> unitval subset : (key -> 'a -> 'b -> bool) -> 'a t -> 'b t -> boolval 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 t