on master help sign in
WAI 0.4
commitf8b565ba0862d65cf11fb13ba9c93a517d50382f authorMichael Snoyman <michael@snoyman.com> dateFri 1 Apr 2011, 10:37 (16 years ago) parentda67338
3 files changed+8−5
Network/Wai/Application/Devel.hs+2−1 Network/Wai/Handler/DevelServer.hs+1 wai-handler-devel.cabal+5−4
Network/Wai/Application/Devel.hs+2−1
@@ -16,7 +16,8 @@ import Control.Concurrent.MVar
1616 ( MVar, newEmptyMVar, newMVar
1717 , takeMVar, putMVar, readMVar
1818 )
19−import Network.Wai (Application, responseLBS, status500)
19+import Network.Wai (Application, responseLBS)
20+import Network.HTTP.Types (status500)
2021import Data.ByteString.Lazy.Char8 ()
2122import Control.Monad.IO.Class (liftIO)
2223
Network/Wai/Handler/DevelServer.hs+1
@@ -11,6 +11,7 @@ module Network.Wai.Handler.DevelServer
1111
1212import Language.Haskell.Interpreter hiding (typeOf)
1313import Network.Wai
14+import Network.HTTP.Types (status200)
1415
1516import Data.Text.Lazy (pack)
1617import Data.Text.Lazy.Encoding (encodeUtf8)
wai-handler-devel.cabal+5−4
@@ -1,5 +1,5 @@
11Name: wai-handler-devel
2−Version: 0.2.1
2+Version: 0.4.0
33Synopsis: WAI server that automatically reloads code after modification.
44Description: This handler automatically reloads your source code upon any changes. It works by using the hint package, essentially embedding GHC inside the handler. The handler (both the executable and library) takes three arguments: the port to listen on, the module name containing the application function, and the name of the function.
55 .
@@ -22,9 +22,10 @@ Source-repository head
2222
2323Library
2424 Build-Depends: base >= 4 && < 5
25− , wai >= 0.3 && < 0.4
26− , wai-extra >= 0.3 && < 0.4
27− , warp >= 0.3 && < 0.4
25+ , wai >= 0.4 && < 0.5
26+ , wai-extra >= 0.4 && < 0.5
27+ , http-types >= 0.6 && < 0.7
28+ , warp >= 0.4 && < 0.5
2829 , directory >= 1.0 && < 1.2
2930 , network >= 2.2 && < 2.4
3031 , bytestring >= 0.9 && < 0.10