snap-server 0.6.0 → 0.6.0.1
raw patch · 9 files changed
+35/−8 lines, 9 files
Files
- snap-server.cabal +15/−1
- src/Data/Concurrent/HashMap.hs +1/−1
- src/Snap/Http/Server.hs +0/−1
- src/Snap/Internal/Http/Parser.hs +1/−1
- src/Snap/Internal/Http/Server.hs +1/−1
- src/Snap/Internal/Http/Server/LibevBackend.hs +1/−1
- src/Snap/Internal/Http/Server/SimpleBackend.hs +1/−1
- test/snap-server-testsuite.cabal +14/−0
- test/testserver/Main.hs +1/−1
snap-server.cabal view
@@ -1,5 +1,5 @@ name: snap-server-version: 0.6.0+version: 0.6.0.1 synopsis: A fast, iteratee-based, epoll-enabled web server for the Snap Framework description: Snap is a simple and fast web development framework and server written in@@ -127,6 +127,20 @@ vector >= 0.7 && < 0.10, vector-algorithms >= 0.4 && < 0.6, PSQueue >= 1.1 && < 1.2++ extensions:+ BangPatterns,+ CPP,+ MagicHash,+ Rank2Types,+ OverloadedStrings,+ ScopedTypeVariables,+ DeriveDataTypeable,+ PackageImports,+ ViewPatterns,+ ForeignFunctionInterface,+ EmptyDataDecls,+ GeneralizedNewtypeDeriving if flag(portable) || os(windows) cpp-options: -DPORTABLE
src/Data/Concurrent/HashMap.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE BangPatterns #-} {-# LANGUAGE CPP #-} {-# LANGUAGE MagicHash #-}-{-# LANGUAGE RankNTypes #-}+{-# LANGUAGE Rank2Types #-} module Data.Concurrent.HashMap ( HashMap
src/Snap/Http/Server.hs view
@@ -25,7 +25,6 @@ import Control.Monad.CatchIO import Data.ByteString (ByteString) import qualified Data.ByteString as BS-import Data.Char import Data.List import Data.Maybe import Prelude hiding (catch)
src/Snap/Internal/Http/Parser.hs view
@@ -2,7 +2,7 @@ {-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE PackageImports #-}-{-# LANGUAGE RankNTypes #-}+{-# LANGUAGE Rank2Types #-} {-# LANGUAGE ViewPatterns #-} module Snap.Internal.Http.Parser
src/Snap/Internal/Http/Server.hs view
@@ -2,7 +2,7 @@ {-# LANGUAGE CPP #-} {-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RankNTypes #-}+{-# LANGUAGE Rank2Types #-} {-# LANGUAGE ScopedTypeVariables #-} module Snap.Internal.Http.Server where
src/Snap/Internal/Http/Server/LibevBackend.hs view
@@ -3,7 +3,7 @@ {-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE ForeignFunctionInterface #-} {-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RankNTypes #-}+{-# LANGUAGE Rank2Types #-} {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE PackageImports #-}
src/Snap/Internal/Http/Server/SimpleBackend.hs view
@@ -4,7 +4,7 @@ {-# LANGUAGE ForeignFunctionInterface #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE PackageImports #-}-{-# LANGUAGE RankNTypes #-}+{-# LANGUAGE Rank2Types #-} {-# LANGUAGE ScopedTypeVariables #-} module Snap.Internal.Http.Server.SimpleBackend
test/snap-server-testsuite.cabal view
@@ -58,6 +58,20 @@ vector-algorithms >= 0.4 && <0.6, PSQueue >= 1.1 && <1.2 + extensions:+ BangPatterns,+ CPP,+ MagicHash,+ Rank2Types,+ OverloadedStrings,+ ScopedTypeVariables,+ DeriveDataTypeable,+ PackageImports,+ ViewPatterns,+ ForeignFunctionInterface,+ EmptyDataDecls,+ GeneralizedNewtypeDeriving+ if !os(windows) build-depends: unix
test/testserver/Main.hs view
@@ -1,6 +1,6 @@ {-# LANGUAGE BangPatterns #-} {-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RankNTypes #-}+{-# LANGUAGE Rank2Types #-} module Main where