packages feed

hlint 1.8.10 → 1.8.11

raw patch · 4 files changed

+4/−2 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

data/Default.hs view
@@ -362,6 +362,7 @@ yes = catch -- Control.Exception.catch import Prelude hiding (catch); no = catch import Control.Exception as E; no = E.catch+main = do f; putStrLn $ show x -- print x  import Prelude \ yes = flip mapM -- Control.Monad.forM
hlint.cabal view
@@ -1,7 +1,7 @@ cabal-version:      >= 1.6 build-type:         Simple name:               hlint-version:            1.8.10+version:            1.8.11 -- license is GPL v2 only license:            GPL license-file:       LICENSE
src/HSE/Bracket.hs view
@@ -56,6 +56,7 @@         | RecUpdate{} <- parent, i /= 0 = False         | Case{} <- parent, i /= 0 || isAnyApp child = False         | Lambda{} <- parent, i == length (universeBi parent :: [Pat_]) - 1 = False -- watch out for PViewPat+        | Do{} <- parent = False         | otherwise = True  
src/Hint/Bracket.hs view
@@ -20,7 +20,7 @@ yes = \ x -> (x && x) -- @Warning \x -> x && x no = \(x -> y) -> z yes = (`foo` (bar baz)) -- @Warning (`foo` bar baz)-+main = do f; (print x) -- @Warning do f print x  -- type bracket reduction foo :: (Int -> Int) -> Int