on master help sign in
Merge pull request #2 from mpickering/patch-1

Complete code example in Servant.Server

commit924c805db413aa87a24faf9bb8dc890e24879df0 authorAlp Mestanogullari <alpmestan@gmail.com> dateThu 1 Jan 2015, 21:21 (12 years ago) parentdf5c8d977aed79
1 file changed+3
src/Servant/Server.hs+3
src/Servant/Server.hs+3
@@ -29,6 +29,9 @@ import Servant.Server.Internal
2929-- > where listAllBooks = ...
3030-- > postBook book = ...
3131-- >
32+-- > myApi :: Proxy MyApi
33+-- > myApi = Proxy
34+-- >
3235-- > app :: Application
3336-- > app = serve myApi server
3437-- >