packages feed

scalpel 0.2.0.1 → 0.2.1

raw patch · 3 files changed

+10/−2 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -2,6 +2,10 @@  ## HEAD +## 0.2.1++- Made Scraper an instance of MonadPlus.+ ## 0.2.0.1  - Fixed examples in documentation and added an examples folder for ready to
scalpel.cabal view
@@ -1,5 +1,5 @@ name:                scalpel-version:             0.2.0.1+version:             0.2.1 synopsis:            A high level web scraping library for Haskell. description:     Scalpel is a web scraping library inspired by libraries like Parsec and@@ -24,7 +24,7 @@ source-repository this   type:     git   location: https://github.com/fimad/scalpel.git-  tag:      v0.2.0.1+  tag:      v0.2.1  library   other-extensions:
src/Text/HTML/Scalpel/Internal/Scrape.hs view
@@ -52,6 +52,10 @@                                                       in  b tags                             | otherwise             = Nothing +instance MonadPlus (Scraper str) where+    mzero = empty+    mplus = (<|>)+ -- | The 'chroot' function takes a selector and an inner scraper and executes -- the inner scraper as if it were scraping a document that consists solely of -- the tags corresponding to the selector.