Merge pull request #2 from mpickering/patch-1

Complete code example in Servant.Server
This commit is contained in:
Alp Mestanogullari 2015-01-01 21:21:25 +01:00
commit 924c805db4

View file

@ -29,6 +29,9 @@ import Servant.Server.Internal
-- > where listAllBooks = ... -- > where listAllBooks = ...
-- > postBook book = ... -- > postBook book = ...
-- > -- >
-- > myApi :: Proxy MyApi
-- > myApi = Proxy
-- >
-- > app :: Application -- > app :: Application
-- > app = serve myApi server -- > app = serve myApi server
-- > -- >