module String_map:functor (
V
:
Parameter_sig.Value_datatype
with type key = string
) ->
functor (
X
:
sig
include Parameter_sig.Input_with_arg
val default :V.t Datatype.String.Map.t
end
) ->
Parameter_sig.Map
with type key = string and type value = V.t and type t = V.t Datatype.String.Map.t
Parameters: |
|
type
key
Type of keys of the map.
type
value
Type of the values associated to the keys.
include Parameter_sig.Collection
A map is a collection in which elements are pairs (key, value)
, but some
values may be missing.
val find : key -> value
Search a given key in the map.
Not_found
if there is no such key in the map.val mem : key -> bool