@@ -36,7 +36,7 @@ safeRead d s =
3636lookup' :: String -> [(String, String)] -> String
3737lookup' key pairs = fromMaybe "" $ lookup key pairs
3838
39−run :: Application () -> IO ()
39+run :: Application -> IO ()
4040run app = do
4141 vars <- getEnvironment
4242 let input = requestBodyHandle System.IO.stdin
@@ -44,7 +44,7 @@ run app = do
4444 run'' vars input output Nothing app
4545
4646runSendfile :: B.ByteString -- ^ sendfile header
47− -> Application () -> IO ()
47+ -> Application -> IO ()
4848runSendfile sf app = do
4949 vars <- getEnvironment
5050 let input = requestBodyHandle System.IO.stdin
@@ -54,7 +54,7 @@ runSendfile sf app = do
5454run' :: [(String, String)] -- ^ all variables
5555 -> System.IO.Handle -- ^ responseBody of input
5656 -> System.IO.Handle -- ^ destination for output
57− -> Application ()
57+ -> Application
5858 -> IO ()
5959run' vars inputH outputH app = do
6060 let input = requestBodyHandle inputH
@@ -65,7 +65,7 @@ run'' :: [(String, String)] -- ^ all variables
6565 -> (forall a. Int -> Enumerator B.ByteString IO a) -- ^ responseBody of input
6666 -> (B.ByteString -> IO ()) -- ^ destination for output FIXME use an iteratee
6767 -> Maybe B.ByteString -- ^ does the server support the X-Sendfile header?
68− -> Application ()
68+ -> Application
6969 -> IO ()
7070run'' vars inputH outputH xsendfile app = do
7171 let rmethod = B.pack $ lookup' "REQUEST_METHOD" vars