hlint 1.8.46 → 1.8.47
raw patch · 2 files changed
+3/−1 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- hlint.cabal +1/−1
- src/Util.hs +2/−0
hlint.cabal view
@@ -1,7 +1,7 @@ cabal-version: >= 1.6 build-type: Simple name: hlint-version: 1.8.46+version: 1.8.47 license: BSD3 license-file: LICENSE category: Development
src/Util.hs view
@@ -70,8 +70,10 @@ headDef x [] = x headDef x (y:ys) = y +#if !MIN_VERSION_base(4,7,0) isLeft Left{} = True; isLeft _ = False isRight = not . isLeft+#endif unzipEither :: [Either a b] -> ([a], [b]) unzipEither (x:xs) = case x of