scalpel-core 0.6.0 → 0.6.1
raw patch · 4 files changed
+12/−2 lines, 4 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- CHANGELOG.md +4/−0
- scalpel-core.cabal +2/−2
- src/Text/HTML/Scalpel/Internal/Scrape.hs +3/−0
- src/Text/HTML/Scalpel/Internal/Serial.hs +3/−0
CHANGELOG.md view
@@ -2,6 +2,10 @@ ## HEAD +## 0.6.1++- Support GHC 8.8.+ ## 0.6.0 ### Breaking Changes
scalpel-core.cabal view
@@ -1,5 +1,5 @@ name: scalpel-core-version: 0.6.0+version: 0.6.1 synopsis: A high level web scraping library for Haskell. description: Scalpel core provides a subset of the scalpel web scraping library that is@@ -24,7 +24,7 @@ source-repository this type: git location: https://github.com/fimad/scalpel.git- tag: v0.6.0+ tag: v0.6.1 library other-extensions:
src/Text/HTML/Scalpel/Internal/Scrape.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-# OPTIONS_HADDOCK hide #-} module Text.HTML.Scalpel.Internal.Scrape ( Scraper (..)@@ -51,7 +52,9 @@ | otherwise = b tags instance Monad (Scraper str) where+#if __GLASGOW_HASKELL__ < 808 fail = Fail.fail+#endif return = pure (MkScraper a) >>= f = MkScraper combined where combined tags | (Just aVal) <- a tags = let (MkScraper b) = f aVal
src/Text/HTML/Scalpel/Internal/Serial.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-# LANGUAGE TupleSections #-} {-# OPTIONS_HADDOCK hide #-} module Text.HTML.Scalpel.Internal.Serial (@@ -116,7 +117,9 @@ | otherwise = b zipper instance Monad (SerialScraper str) where+#if __GLASGOW_HASKELL__ < 808 fail = Fail.fail+#endif return = pure (MkSerialScraper a) >>= f = MkSerialScraper combined where