summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-05-04 00:44:11 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-05-04 00:44:11 -0400
commit8c09c17f6bcc1d9aaeab38eb4a6f7682139e8c65 (patch)
treeb58964b0a4eb383389d84d20c79fbd7f07f22b3d
parent32de288c35b5cc728821c1c465c398f9bd8ba8d5 (diff)
use strict insertWith
-rw-r--r--Logs/UUIDBased.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Logs/UUIDBased.hs b/Logs/UUIDBased.hs
index b09d93f90..847d49923 100644
--- a/Logs/UUIDBased.hs
+++ b/Logs/UUIDBased.hs
@@ -83,7 +83,7 @@ changeLog t u v = M.insert u $ LogEntry (Date t) v
{- Only add an LogEntry if it's newer (or at least as new as) than any
- existing LogEntry for a UUID. -}
addLog :: UUID -> LogEntry a -> Log a -> Log a
-addLog = M.insertWith best
+addLog = M.insertWith' best
{- Converts a Log into a simple Map without the timestamp information.
- This is a one-way trip, but useful for code that never needs to change