From 77aed79eba1ade40bae489ea339221857e2a3ba6 Mon Sep 17 00:00:00 2001 From: Matthew Pickering Date: Thu, 1 Jan 2015 20:10:17 +0000 Subject: [PATCH] Complete code example in Servant.Server --- src/Servant/Server.hs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Servant/Server.hs b/src/Servant/Server.hs index d1d6e4c4..d8661585 100644 --- a/src/Servant/Server.hs +++ b/src/Servant/Server.hs @@ -29,6 +29,9 @@ import Servant.Server.Internal -- > where listAllBooks = ... -- > postBook book = ... -- > +-- > myApi :: Proxy MyApi +-- > myApi = Proxy +-- > -- > app :: Application -- > app = serve myApi server -- >