How do I use wai-handler-devel with a simple wai application
I have the basic "hello world" application setup using wai, and would like to use wai-handler-devel, but am unsure how to go about it and can't find any examples of it in usage on a wai project. {-# LANGUAGE OverloadedStrings #-} import Network.Wai import Network.HTTP.Types import Network.Wai.Handler.Warp (run) import Data.ByteString.Lazy.Char8 () -- Just for an orphan instance app :: Application app _ = return $ responseLBS status200 [("Content-Type", "text/plain")] "Hello, World!" main :: IO () main = do putStrLn $ "http://localhost:8080/" run 8080 app What do I need to do to get wai-handler