mirror of
https://github.com/jtdaugherty/brick.git
synced 2024-12-01 17:32:52 +03:00
EventState: make fields strict
This commit is contained in:
parent
4297ca073e
commit
301015a930
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user