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 = ...
-- > postBook book = ...
-- >
-- > myApi :: Proxy MyApi
-- > myApi = Proxy
-- >
-- > app :: Application
-- > app = serve myApi server
-- >