add some strictness annotations
on general principles
This commit is contained in:
parent
1f2127c520
commit
d2b48cacdb
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
||||||
- Licensed under the GNU GPL version 3 or higher.
|
- Licensed under the GNU GPL version 3 or higher.
|
||||||
-}
|
-}
|
||||||
|
|
||||||
{-# LANGUAGE RankNTypes #-}
|
{-# LANGUAGE RankNTypes, BangPatterns #-}
|
||||||
|
|
||||||
module Assistant.Alert where
|
module Assistant.Alert where
|
||||||
|
|
||||||
|
@ -272,5 +272,5 @@ messageCombiner combinemessage = Just go
|
||||||
| alertName new == alertName old =
|
| alertName new == alertName old =
|
||||||
case combinemessage (alertMessage new) (alertMessage old) of
|
case combinemessage (alertMessage new) (alertMessage old) of
|
||||||
Nothing -> Nothing
|
Nothing -> Nothing
|
||||||
Just m -> Just $ old { alertMessage = m }
|
Just !m -> Just $! old { alertMessage = m }
|
||||||
| otherwise = Nothing
|
| otherwise = Nothing
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue