use strict version of map

This commit is contained in:
Joey Hess 2014-01-06 16:04:09 -04:00
parent e5b4d447b6
commit d356069f3e

View file

@ -230,7 +230,7 @@ updateAlertMap a = notifyAlert `after` modifyDaemonStatus_ update
where
update s =
let !m = a (alertMap s)
in s { alertMap = a (alertMap s) }
in s { alertMap = m }
{- Displays an alert while performing an activity that returns True on
- success.