diff options
author | Joey Hess <joey@kitenet.net> | 2014-04-26 19:25:05 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-04-26 19:25:05 -0400 |
commit | c7999da69b039829acc3b7da8005224af5bf6ed8 (patch) | |
tree | b17c7d897d95503f1af66efc98e28da1179d798c /Utility/HumanTime.hs | |
parent | a885d67e97c63d8fff657f6eb8d503fd91b0b42c (diff) |
hlint
Diffstat (limited to 'Utility/HumanTime.hs')
-rw-r--r-- | Utility/HumanTime.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utility/HumanTime.hs b/Utility/HumanTime.hs index 297b2bd97..f52fd5b1b 100644 --- a/Utility/HumanTime.hs +++ b/Utility/HumanTime.hs @@ -59,7 +59,7 @@ parseDuration = Duration <$$> go 0 fromDuration :: Duration -> String fromDuration Duration { durationSeconds = d } | d == 0 = "0s" - | otherwise = concat $ map showunit $ go [] units d + | otherwise = concatMap showunit $ go [] units d where showunit (u, n) | n > 0 = show n ++ [u] |