package commons

  1. Overview
  2. Docs

Module Common2.IntMapSource

Sourcetype key = int
Sourcetype +'a t
Sourceval empty : 'a t
Sourceval is_empty : 'a t -> bool
Sourceval add : key -> 'a -> 'a t -> 'a t
Sourceval find : key -> 'a t -> 'a
Sourceval remove : key -> 'a t -> 'a t
Sourceval mem : key -> 'a t -> bool
Sourceval iter : (key -> 'a -> unit) -> 'a t -> unit
Sourceval map : ('a -> 'b) -> 'a t -> 'b t
Sourceval mapi : (key -> 'a -> 'b) -> 'a t -> 'b t
Sourceval fold : (key -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'b
Sourceval compare : ('a -> 'a -> int) -> 'a t -> 'a t -> int
Sourceval equal : ('a -> 'a -> bool) -> 'a t -> 'a t -> bool
OCaml

Innovation. Community. Security.