alba

Alba compiler
IN THIS PACKAGE
Module type Fmlib . Finite_map . S
type key
type +'a t
val empty : 'a t
val is_empty : 'a t -> bool
val mem : key -> 'a t -> bool
val maybe_find : key -> 'a t -> 'a option
val find : key -> 'a t -> 'a
val add : key -> 'a -> 'a t -> 'a t
val remove : key -> 'a t -> 'a t
val fold : ( key -> 'a -> 'b -> 'b ) -> 'a t -> 'b -> 'b
val bindings : 'a t -> (key * 'a) list
val cardinal : 'a t -> int