mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-26 03:42:25 +03:00
Hlint: Error: Use .
This commit is contained in:
parent
cca81d199f
commit
3341ad197f
@ -56,5 +56,5 @@ main = do [ base, pkgFile ] <- getArgs
|
|||||||
mods <- mapM (allDeps base) pkgs
|
mods <- mapM (allDeps base) pkgs
|
||||||
let deps = zip pkgs mods
|
let deps = zip pkgs mods
|
||||||
let deps' = sortBy (comparing fst) deps
|
let deps' = sortBy (comparing fst) deps
|
||||||
mapM_ print $ map fst $ sortBy (comparing $ length . snd) deps'
|
mapM_ (print . fst) (sortBy (comparing $ length . snd) deps')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user