packages feed

sscgi 0.3.0 → 0.3.1

raw patch · 3 files changed

+5/−8 lines, 3 files

Files

LICENSE view
@@ -1,4 +1,4 @@-Copyright (c) 2013, Chris Forno (jekor)+Copyright (c) 2013, 2014, 2015 Chris Forno (jekor)  All rights reserved. 
Network/SCGI.hs view
@@ -1,8 +1,5 @@--- Copyright 2013 Chris Forno- module Network.SCGI (SCGIT, SCGI, runRequest, header, allHeaders, body, method, path, setHeader, responseHeader, Headers, Body, Status, Response(..), negotiate) where -import Control.Applicative ((<$>), (<*>), (<*), (*>)) import Control.Arrow (first) import Control.Exception (SomeException) import Control.Monad (liftM, liftM2)@@ -36,7 +33,7 @@ data Response = Response Status Body  newtype SCGIT m a = SCGIT (ReaderT (Headers, Body) (StateT Headers m) a)-  deriving (Monad, MonadState Headers, MonadReader (Headers, Body), MonadIO, MonadCatchIO)+  deriving (Functor, Applicative, Monad, MonadState Headers, MonadReader (Headers, Body), MonadIO, MonadCatchIO)  type SCGI = SCGIT IO 
sscgi.cabal view
@@ -1,7 +1,7 @@ name:                sscgi-version:             0.3.0+version:             0.3.1 synopsis:            Simple SCGI Library-description:         This is a simple implementation of the SCGI protocol without support for the Network.CGI interface. It's still rough but currently powers www.vocabulink.com and jekor.com.+description:         This is a simple implementation of the SCGI protocol without support for the Network.CGI interface. It's still rough but currently powers www.vocabulink.com. homepage:            https://github.com/jekor/haskell-sscgi bug-reports:         https://github.com/jekor/haskell-sscgi/issues license:             BSD3@@ -12,7 +12,7 @@ category:            Network build-type:          Simple cabal-version:       >=1.8-tested-with:         GHC == 7.6.3+tested-with:         GHC == 7.10.2  source-repository head   type:     git