Defines functions which allow to access and manipulate PersistentHashMaps.
Function or value | Description |
Full Usage:
PersistentHashMap.add key value map
Parameters:
'T
value : 'S
map : PersistentHashMap<'T, 'S>
Returns: PersistentHashMap<'T, 'S>
|
|
Full Usage:
PersistentHashMap.containsKey key map
Parameters:
'T
map : PersistentHashMap<'T, 'S>
Returns: bool
|
|
|
|
|
|
Full Usage:
PersistentHashMap.find key map
Parameters:
'T
map : PersistentHashMap<'T, 'S>
Returns: 'S
|
|
|
|
Full Usage:
PersistentHashMap.map f map
Parameters:
'S -> 'S1
map : PersistentHashMap<'T, 'S>
Returns: PersistentHashMap<'T, 'S1>
|
O(n). Returns a HashMap whose elements are the results of applying the supplied function to each of the elements of a supplied HashMap.
|
Full Usage:
PersistentHashMap.ofSeq items
Parameters:
seq<'T * 'S>
Returns: PersistentHashMap<'T, 'S>
|
|
Full Usage:
PersistentHashMap.remove key map
Parameters:
'T
map : PersistentHashMap<'T, 'S>
Returns: PersistentHashMap<'T, 'S>
|
|
Full Usage:
PersistentHashMap.toSeq map
Parameters:
PersistentHashMap<'T, 'S>
Returns: seq<'T * 'S>
|
|