@@ -9,9 +9,6 @@
10module Network.Wai.Handler.Warp.Run where
10module Network.Wai.Handler.Warp.Run where
12−#if __GLASGOW_HASKELL__ < 709
13−import Control.Applicative ((<$>))
15import Control.Arrow (first)
12import Control.Arrow (first)
16import qualified Control.Concurrent as Conc (yield)
13import qualified Control.Concurrent as Conc (yield)
17import Control.Exception as E
14import Control.Exception as E
@@ -71,11 +68,6 @@ socketConnection s = do
71 , connBufferSize = bufferSize
68 , connBufferSize = bufferSize
74−#if __GLASGOW_HASKELL__ < 702
75−allowInterrupt :: IO ()
76−allowInterrupt = unblock $ return ()
79-- | Run an 'Application' on the given port.
71-- | Run an 'Application' on the given port.
80-- This calls 'runSettings' with 'defaultSettings'.
72-- This calls 'runSettings' with 'defaultSettings'.
81run :: Port -> Application -> IO ()
73run :: Port -> Application -> IO ()