refactor
This commit is contained in:
parent
ba3825441c
commit
037d86e046
2 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue