Plasma GitLab Archive
Projects Blog Knowledge


[UP]
Modules
 Wd_application_dtd
 Wd_cycle
 Wd_dialog
 Wd_dictionary
 Wd_encoding
 Wd_interactor
 Wd_run_cgi
 Wd_run_jserv
 Wd_run_fcgi
 Wd_stdlib
 Wd_template
 Wd_templrep
 Wd_transform
 Wd_types
 Wd_serialize_types
 Wd_universe
 Wd_upload
 Wd_var_functions
   
WDialog API for Objective Caml: Wd_dictionary

Module Wd_dictionary


module Wd_dictionary: sig .. end
Dictionaries are maps from string to any type. See the module Map of the standard library for details.

type +'a t 
val empty : 'a t
val add : string -> 'a -> 'a t -> 'a t
val find : string -> 'a t -> 'a
val remove : string -> 'a t -> 'a t
val mem : string -> 'a t -> bool
val iter : (string -> 'a -> unit) -> 'a t -> unit
val map : ('a -> 'b) -> 'a t -> 'b t
val mapi : (string -> 'a -> 'b) -> 'a t -> 'b t
val fold : (string -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'b
val of_alist : (string * 'a) list -> 'a t
Convert the passed associative list to the corresponding dictionary
val to_alist : 'a t -> (string * 'a) list
Convert the dictionary to an associative list
This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml