Commit dd94fbe2 authored by Ben Gamari's avatar Ben Gamari

Update hlint usage

parent 70bb5475
......@@ -69,7 +69,7 @@ library
ghc-paths ==0.1.*,
haskeline -any,
here ==1.2.*,
hlint ==1.8.61,
hlint >=1.9 && <2.0,
haskell-src-exts ==1.15.*,
hspec -any,
HTTP -any,
......@@ -170,7 +170,7 @@ Test-Suite hspec
ghc-paths ==0.1.*,
haskeline -any,
here ==1.2.*,
hlint ==1.8.61,
hlint >=1.9 && <2.0,
haskell-src-exts ==1.15.*,
hspec -any,
HTTP -any,
......
......@@ -66,7 +66,7 @@ lint blocks = do
-- create 'suggestions'
let modules = mapMaybe (createModule mode) blocks
ideas = applyHints classify hint modules
ideas = applyHints classify hint (map (\m->(m,[])) modules)
suggestions = mapMaybe showIdea ideas
return $ Display $
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment