diff options
author | Joey Hess <joey@kitenet.net> | 2013-09-25 03:09:06 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-09-25 03:09:06 -0400 |
commit | d9c5d32c34885cac67c44c633c5351461902d166 (patch) | |
tree | 2628093b15b5564a33364cf67d54d87ef0f2474e /Command/List.hs | |
parent | 2270913743982ab33c68d17c8ed68326e1711f95 (diff) |
hlint
test suite still passes
Diffstat (limited to 'Command/List.hs')
-rw-r--r-- | Command/List.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Command/List.hs b/Command/List.hs index 1c424cddc..56ec0cd03 100644 --- a/Command/List.hs +++ b/Command/List.hs @@ -72,9 +72,9 @@ type RemoteName = String type Present = Bool header :: [(RemoteName, TrustLevel)] -> String -header remotes = (unlines $ zipWith formatheader [0..] remotes) ++ (pipes (length remotes)) +header remotes = unlines (zipWith formatheader [0..] remotes) ++ pipes (length remotes) where - formatheader n (remotename, trustlevel) = (pipes n) ++ remotename ++ (trust trustlevel) + formatheader n (remotename, trustlevel) = pipes n ++ remotename ++ trust trustlevel pipes = flip replicate '|' trust UnTrusted = " (untrusted)" trust _ = "" |