package frama-c

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module F.TmapSource

Sourcetype key = term
Sourcetype 'a t
Sourceval is_empty : 'a t -> bool
Sourceval empty : 'a t
Sourceval add : key -> 'a -> 'a t -> 'a t
Sourceval mem : key -> 'a t -> bool
Sourceval find : key -> 'a t -> 'a
Sourceval remove : key -> 'a t -> 'a t
Sourceval compare : ('a -> 'a -> int) -> 'a t -> 'a t -> int
Sourceval equal : ('a -> 'a -> bool) -> 'a t -> 'a t -> bool
Sourceval iter : (key -> 'a -> unit) -> 'a t -> unit
Sourceval map : (key -> 'a -> 'b) -> 'a t -> 'b t
Sourceval mapf : (key -> 'a -> 'b option) -> 'a t -> 'b t
Sourceval mapq : (key -> 'a -> 'a option) -> 'a t -> 'a t
Sourceval filter : (key -> 'a -> bool) -> 'a t -> 'a t
Sourceval partition : (key -> 'a -> bool) -> 'a t -> 'a t * 'a t
Sourceval fold : (key -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'b
Sourceval union : (key -> 'a -> 'a -> 'a) -> 'a t -> 'a t -> 'a t
Sourceval inter : (key -> 'a -> 'b -> 'c) -> 'a t -> 'b t -> 'c t
Sourceval interf : (key -> 'a -> 'b -> 'c option) -> 'a t -> 'b t -> 'c t
Sourceval interq : (key -> 'a -> 'a -> 'a option) -> 'a t -> 'a t -> 'a t
Sourceval diffq : (key -> 'a -> 'a -> 'a option) -> 'a t -> 'a t -> 'a t
Sourceval merge : (key -> 'a option -> 'b option -> 'c option) -> 'a t -> 'b t -> 'c t
Sourceval iter2 : (key -> 'a option -> 'b option -> unit) -> 'a t -> 'b t -> unit
Sourceval subset : (key -> 'a -> 'b -> bool) -> 'a t -> 'b t -> bool
Sourceval insert : (key -> 'a -> 'a -> 'a) -> key -> 'a -> 'a t -> 'a t

insert (fun key v old -> ...) key v map

Sourceval change : (key -> 'b -> 'a option -> 'a option) -> key -> 'b -> 'a t -> 'a t
OCaml

Innovation. Community. Security.