on master help sign in
Remove overly specific comment.
commit27e842365fb0f32b58eca0e45067bd2f61370ff7 authorMatthias Fischmann <mf@zerobuzz.net> dateFri 27 Feb 2015, 15:27 (12 years ago) parent1a63d87
1 file changed−5
src/Servant/Server.hs−5
src/Servant/Server.hs−5
@@ -42,10 +42,5 @@ import Servant.Server.Internal
4242-- >
4343-- > main :: IO ()
4444-- > main = Network.Wai.Handler.Warp.run 8080 app
45−--
46−-- (If you need access to the wai 'Application' type, use
47−-- 'toApplication'. This is useful for writing custom servers that do
48−-- things other than routing (e.g. dumping all requests and responses
49−-- to a file).)
5045serve :: HasServer layout => Proxy layout -> Server layout -> Application
5146serve p server = toApplication (route p server)