xml-pipe 0.0.0.8 → 0.0.0.9
raw patch · 2 files changed
+3/−6 lines, 2 filesdep ~simple-pipe
Dependency ranges changed: simple-pipe
Files
- src/Text/XML/XmlEvent.hs +0/−3
- xml-pipe.cabal +3/−3
src/Text/XML/XmlEvent.hs view
@@ -16,9 +16,6 @@ notEmpty (XECharData cd) = not $ BSC.all isSpace cd notEmpty _ = True -convert :: Monad m => (a -> b) -> Pipe a b m ()-convert f = await >>= maybe (return ()) (\x -> yield (f x) >> convert f)- filterP :: Monad m => (a -> Bool) -> Pipe a a m () filterP p = await >>= maybe (return ()) (\x -> when (p x) (yield x) >> filterP p)
xml-pipe.cabal view
@@ -2,7 +2,7 @@ cabal-version: >= 1.8 name: xml-pipe-version: 0.0.0.8+version: 0.0.0.9 stability: Experimental author: Yoshikuni Jujo <PAF01143@nifty.ne.jp> maintainer: Yoshikuni Jujo <PAF01143@nifty.ne.jp>@@ -110,7 +110,7 @@ source-repository this type: git location: git://github.com/YoshikuniJujo/xml-pipe.git- tag: xml-pipe-0.0.0.8+ tag: xml-pipe-0.0.0.9 library hs-source-dirs: src@@ -118,7 +118,7 @@ other-modules: Text.XML.XmlEvent, Text.XML.Lexer, Text.XML.Papillon, Text.XML.XmlCreate build-depends:- base == 4.*, bytestring == 0.10.*, simple-pipe == 0.0.0.*,+ base == 4.*, bytestring == 0.10.*, simple-pipe >= 0.0.0.14 && < 0.2.0.0, papillon == 0.1.* ghc-options: -Wall extensions: DoAndIfThenElse, PatternGuards