EventState: make fields strict

This commit is contained in:
Jonathan Daugherty 2022-07-17 09:26:42 -07:00
parent 4297ca073e
commit 301015a930

View File

@ -227,11 +227,11 @@ data CacheInvalidateRequest n =
deriving (Ord, Eq)
data EventState n s =
ES { esScrollRequests :: [(n, ScrollRequest)]
, cacheInvalidateRequests :: S.Set (CacheInvalidateRequest n)
, requestedVisibleNames :: S.Set n
, applicationState :: s
, nextAction :: NextAction s
ES { esScrollRequests :: ![(n, ScrollRequest)]
, cacheInvalidateRequests :: !(S.Set (CacheInvalidateRequest n))
, requestedVisibleNames :: !(S.Set n)
, applicationState :: !s
, nextAction :: !(NextAction s)
}
-- | An extent of a named area: its size, location, and origin.