summaryrefslogtreecommitdiff
path: root/Logs/Difference/Pure.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Logs/Difference/Pure.hs')
-rw-r--r--Logs/Difference/Pure.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Logs/Difference/Pure.hs b/Logs/Difference/Pure.hs
index bbd4d348d..25f3844d6 100644
--- a/Logs/Difference/Pure.hs
+++ b/Logs/Difference/Pure.hs
@@ -18,8 +18,7 @@ import Types.Difference
import Logs.UUIDBased
parseDifferencesLog :: String -> (M.Map UUID Differences)
-parseDifferencesLog = simpleMap
- . parseLog (Just . maybe UnknownDifferences Differences . readish)
+parseDifferencesLog = simpleMap . parseLog (Just . readDifferences)
-- The sum of all recorded differences, across all UUIDs.
allDifferences :: M.Map UUID Differences -> Differences