Browse files

unbufferSource from conduit 0.0.1

  • Loading branch information...
1 parent 5d42423 commit 342421b28fd74ae3ef916d9cdebefc54c4a3ea6b @snoyberg snoyberg committed Jan 6, 2012
View
6 wai-frontend-monadcgi/Network/Wai/Frontend/MonadCGI.hs
@@ -29,12 +29,6 @@ safeRead d s = case reads s of
cgiToApp :: CGI CGIResult -> Application
cgiToApp = cgiToAppGeneric id
-unbufferSource :: Monad m => BufferedSource m a -> Source m a
-unbufferSource bsrc = Source $ return $ PreparedSource
- { sourcePull = bsourcePull bsrc
- , sourceClose = bsourceClose bsrc
- }
-
cgiToAppGeneric :: Monad m
=> (m (Headers, CGIResult) -> IO (Headers, CGIResult))
-> CGIT m CGIResult
View
8 wai-frontend-monadcgi/wai-frontend-monadcgi.cabal
@@ -12,15 +12,15 @@ cabal-version: >= 1.6
build-type: Simple
library
- build-depends: base >= 4 && < 5
+ build-depends: base >= 4 && < 5
, bytestring
- , containers >= 0.2
+ , containers >= 0.2
, cgi
- , conduit
+ , conduit >= 0.0.1 && < 0.1
, http-types
, transformers
, case-insensitive
- , wai >= 1.0 && < 1.1
+ , wai >= 1.0 && < 1.1
exposed-modules: Network.Wai.Frontend.MonadCGI
ghc-options: -Wall

0 comments on commit 342421b

Please sign in to comment.