A non-deterministic set of FastStrings. See Note [Deterministic UniqFM] in GHC.Types.Unique.DFM for explanation why it's not deterministic and why it matters. Use DFastStringEnv if the set eventually gets converted into a list or folded over in a way where the order changes the generated code.
Moduleghc-10.0.0.20260917GHC2024
GHC.Data.FastString.Env
Contents
Synopsis
- type FastStringEnv
- value mkFsEnv
- value emptyFsEnv
- value unitFsEnv
- value extendFsEnv_C
- value extendFsEnv_Acc
- value extendFsEnv
- value extendFsEnvList
- value extendFsEnvList_C
- value filterFsEnv
- value plusFsEnv
- value plusFsEnv_C
- value alterFsEnv
- value upsertFsEnv
- value lookupFsEnv
- value lookupFsEnv_NF
- value delFromFsEnv
- value delListFromFsEnv
- value elemFsEnv
- value mapFsEnv
- value strictMapFsEnv
- value mapMaybeFsEnv
- value nonDetFoldFsEnv
- type DFastStringEnv
- value mkDFsEnv
- value emptyDFsEnv
- value dFsEnvElts
- value lookupDFsEnv
- Packageghc-10.0.0.20260917
- Exports28
- LanguageGHC2024
- LicenceBSD-3-Clause
- SourceEnv.hs
FastString environments (maps)
Manipulating these environments
Fold over a FastStringEnv.
Non-deterministic, unless the folding function is commutative
(i.e. a1 for all f ( a2 f b ) == a2 f ( a1 f b )a1, a2, b).