Merge pull request #274 from bgamari/master

Various updates
This commit is contained in:
Andrew Gibiansky 2014-08-07 16:21:50 -07:00
commit 2e6a0756ca
2 changed files with 12 additions and 12 deletions

View File

@ -53,13 +53,13 @@ library
default-language: Haskell2010
ghc-options: -threaded
build-depends:
aeson >=0.6 && < 0.8,
aeson >=0.6 && < 0.9,
base >=4.6 && < 4.8,
base64-bytestring >=1.0,
bytestring >=0.10,
cereal >=0.3,
classy-prelude ==0.9.2,
mono-traversable ==0.6.0,
classy-prelude >=0.9.2 && <0.10,
mono-traversable >=0.6 && < 0.7,
cmdargs >=0.10,
containers >=0.5,
directory -any,
@ -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,
@ -134,11 +134,11 @@ executable IHaskell
default-language: Haskell2010
build-depends:
base >=4.6 && < 4.8,
aeson >=0.6 && < 0.8,
aeson >=0.6 && < 0.9,
bytestring >=0.10,
cereal >=0.3,
classy-prelude ==0.9.2,
mono-traversable ==0.6.0,
classy-prelude >=0.9.2 && <0.10,
mono-traversable >=0.6 && < 0.7,
containers >=0.5,
directory -any,
ghc ==7.6.* || == 7.8.*,
@ -154,13 +154,13 @@ Test-Suite hspec
Main-Is: Hspec.hs
default-language: Haskell2010
build-depends:
aeson >=0.6 && < 0.8,
aeson >=0.6 && < 0.9,
base >=4.6 && < 4.8,
base64-bytestring >=1.0,
bytestring >=0.10,
cereal >=0.3,
classy-prelude ==0.9.2,
mono-traversable ==0.6.0,
classy-prelude >=0.9.2 && <0.10,
mono-traversable >=0.6 && < 0.7,
cmdargs >=0.10,
containers >=0.5,
directory -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,

View File

@ -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 $