on master help sign in
unbufferSource from conduit 0.0.1
commit342421b28fd74ae3ef916d9cdebefc54c4a3ea6b authorMichael Snoyman <michael@snoyman.com> dateFri 6 Jan 2012, 14:34 (15 years ago) parent5d42423
2 files changed+4−10
wai-frontend-monadcgi/Network/Wai/Frontend/MonadCGI.hs−6 wai-frontend-monadcgi/wai-frontend-monadcgi.cabal+4−4
wai-frontend-monadcgi/Network/Wai/Frontend/MonadCGI.hs−6
@@ -29,12 +29,6 @@ safeRead d s = case reads s of
2929cgiToApp :: CGI CGIResult -> Application
3030cgiToApp = cgiToAppGeneric id
3131
32−unbufferSource :: Monad m => BufferedSource m a -> Source m a
33−unbufferSource bsrc = Source $ return $ PreparedSource
34− { sourcePull = bsourcePull bsrc
35− , sourceClose = bsourceClose bsrc
36− }
37−
3832cgiToAppGeneric :: Monad m
3933 => (m (Headers, CGIResult) -> IO (Headers, CGIResult))
4034 -> CGIT m CGIResult
wai-frontend-monadcgi/wai-frontend-monadcgi.cabal+4−4
@@ -12,15 +12,15 @@ cabal-version: >= 1.6
1212build-type: Simple
1313
1414library
15− build-depends: base >= 4 && < 5
15+ build-depends: base >= 4 && < 5
1616 , bytestring
17− , containers >= 0.2
17+ , containers >= 0.2
1818 , cgi
19− , conduit
19+ , conduit >= 0.0.1 && < 0.1
2020 , http-types
2121 , transformers
2222 , case-insensitive
23− , wai >= 1.0 && < 1.1
23+ , wai >= 1.0 && < 1.1
2424 exposed-modules: Network.Wai.Frontend.MonadCGI
2525 ghc-options: -Wall
2626