Collection of HLint fixes

http://community.haskell.org/~ndm/hlint/
This commit is contained in:
Rodrigo Setti 2014-05-30 02:01:03 +00:00
commit 5dac723593
3 changed files with 297 additions and 305 deletions

View file

@ -28,7 +28,7 @@ import Test.QuickCheck.All (quickCheckAll)
shellCheck :: String -> [AnalysisOption] -> [ShellCheckComment]
shellCheck script options =
let (ParseResult result notes) = parseShell "-" script in
let allNotes = notes ++ (concat $ maybeToList $ do
let allNotes = notes ++ concat (maybeToList $ do
(tree, posMap) <- result
let list = runAnalytics options tree
return $ map (noteToParseNote posMap) $ filterByAnnotation tree list