A map of Word64 keys to values of type a.
Moduleeffectful-core-2.7.1.2GHC2021
Effectful.Internal.Utils.Word64Map
A minimal, strict map keyed by Word64 values (adaptation of
Data.IntMap.Strict).
This module is intended for internal use only, and may change without warning in subsequent releases.
- 1 type
- 5 values
- Packageeffectful-core-2.7.1.2
- Exports6
- LanguageGHC2021
- LicenceBSD-3-Clause
- SourceWord64Map.hs
The empty map.
Look up the value at a key in the map.
Insert a new key/value pair in the map. If the key is already present, the associated value is replaced with the supplied one.
The value is evaluated to WHNF when it is inserted into the map.
Delete a key and its value from the map. When the key is not a member of the map, the original map is returned.
Look up and update the value at a key in the map. The function returns the original value, if it exists, and the updated map.
The updated value is evaluated to WHNF when it is inserted into the map.