git.iko.soy/typeable/servant
on master help sign in
Remove stale next/previous
commit0daa8048c42c7d34d4a8265d52f17e6e24f3e64b authorJulian K. Arni <jkarni@gmail.com> dateThu 18 Feb 2016, 00:43 (11 years ago) parente1312c1
3 files changed−14
doc/tutorial/Client.lhs−5 doc/tutorial/Docs.lhs−4 doc/tutorial/Javascript.lhs−5
doc/tutorial/Client.lhs−5
@@ -147,8 +147,3 @@ You can now run `dist/build/tutorial/tutorial 8` (the server) and
147147```
148148
149149The types of the arguments for the functions are the same as for (server-side) request handlers. You now know how to use *servant-client*!
150−
151−<div style="text-align: center;">
152− <p><a href="/tutorial/server.html">Previous page: Serving an API</a></p>
153− <p><a href="/tutorial/javascript.html">Next page: Generating javascript functions to query an API</a></p>
154−</div>
doc/tutorial/Docs.lhs−4
@@ -232,7 +232,3 @@ app = serve api EmptyConfig server
232232```
233233
234234And if you spin up this server with `dist/build/tutorial/tutorial 10` and go to anywhere else than `/position`, `/hello` and `/marketing`, you will see the API docs in markdown. This is because `serveDocs` is attempted if the 3 other endpoints don't match and systematically succeeds since its definition is to just return some fixed bytestring with the `text/plain` content type.
235−
236−<div style="text-align: center;">
237− <a href="/tutorial/javascript.html">Previous page: Generating javascript functions to query an API</a>
238−</div>
doc/tutorial/Javascript.lhs−5
@@ -182,8 +182,3 @@ writeJSFiles = do
182182```
183183
184184And we're good to go. Start the server with `dist/build/tutorial/tutorial 9` and go to `http://localhost:8081/`. Start typing in the name of one of the authors in our database or part of a book title, and check out how long it takes to approximate &pi; using the method mentioned above.
185−
186−<div style="text-align: center;">
187− <p><a href="/tutorial/client.html">Previous page: Deriving Haskell functions to query an API</a></p>
188− <p><a href="/tutorial/docs.html">Next page: Generating documentation for APIs</a></p>
189−</div>