hlint tweaks
Did all sources except Remotes/* and Command/*
This commit is contained in:
parent
9bb797c0ea
commit
e784757376
32 changed files with 172 additions and 179 deletions
|
@ -11,6 +11,7 @@ module Types.Remote where
|
|||
|
||||
import Control.Exception
|
||||
import Data.Map as M
|
||||
import Data.Ord
|
||||
|
||||
import qualified Git
|
||||
import Types.Key
|
||||
|
@ -62,4 +63,4 @@ instance Eq (Remote a) where
|
|||
|
||||
-- order remotes by cost
|
||||
instance Ord (Remote a) where
|
||||
compare x y = compare (cost x) (cost y)
|
||||
compare = comparing cost
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue