simple-pipe 0.0.0.14 → 0.0.0.15
raw patch · 2 files changed
+3/−3 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- simple-pipe.cabal +2/−2
- src/Data/Pipe.hs +1/−1
simple-pipe.cabal view
@@ -2,7 +2,7 @@ cabal-version: >= 1.8 name: simple-pipe-version: 0.0.0.14+version: 0.0.0.15 stability: Experimental author: Yoshikuni Jujo <PAF01143@nifty.ne.jp> maintainer: Yoshikuni Jujo <PAF01143@nifty.ne.jp>@@ -80,7 +80,7 @@ source-repository this type: git location: git://github.com/YoshikuniJujo/simple-pipe.git- tag: simple-pipe-0.0.0.14+ tag: simple-pipe-0.0.0.15 library hs-source-dirs: src
src/Data/Pipe.hs view
@@ -65,7 +65,7 @@ appLeft (Ready f o p) = Ready f (Left o) $ appLeft p appLeft (Need f p) = Need f $ \mei -> case mei of Just (Left i) -> appLeft . p $ Just i- Just (Right i) -> yield (Right i) >> appLeft (p Nothing)+ Just (Right i) -> yield (Right i) >> appLeft (Need f p) _ -> appLeft $ p Nothing appLeft (Done f r) = Done f r appLeft (Make f p) = Make f $ appLeft `liftM` p