diff options
author | stuebinm | 2022-02-17 00:41:36 +0100 |
---|---|---|
committer | stuebinm | 2022-03-19 19:29:16 +0100 |
commit | 53fb449b008e9b6aed9877b9d33f4026e454e0f9 (patch) | |
tree | 1b95b0d7607426c66bd6173e0f1ff8c97a7b6541 /lib/CheckMap.hs | |
parent | 252a4a3e1553295ffafbfa5150306f0f31dda8cd (diff) |
sprinkle some NFData everywhere
(also some evaluateNF, leading to slightly less memory usage)
Diffstat (limited to '')
-rw-r--r-- | lib/CheckMap.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CheckMap.hs b/lib/CheckMap.hs index 885ee70..b6361b5 100644 --- a/lib/CheckMap.hs +++ b/lib/CheckMap.hs @@ -21,6 +21,7 @@ import GHC.Generics (Generic) import Badges (Badge) +import Control.DeepSeq (NFData) import LintConfig (LintConfig (configAssemblyTag), LintConfig') import LintWriter (LintResult, invertLintResult, resultToAdjusted, resultToBadges, @@ -55,7 +56,7 @@ data MapResult = MapResult -- ^ badges that can be found on this map , mapresultGeneral :: [Hint] -- ^ general-purpose lints that didn't fit anywhere else - } deriving (Generic) + } deriving (Generic, NFData) instance Eq MapResult where |