Merge pull request #1328 from jkaye2012/patch-1

Minor rewording in Server tutorial
This commit is contained in:
fisx 2020-08-02 14:57:42 +02:00 committed by GitHub
commit 1e4872c8b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -313,8 +313,8 @@ For reference, here's a list of some combinators from **servant**:
## The `FromHttpApiData`/`ToHttpApiData` classes
Wait... How does **servant** know how to decode the `Int`s from the URL? Or how
to decode a `ClientInfo` value from the request body? This is what this and the
following two sections address.
to decode a `ClientInfo` value from the request body? The following three sections will
help us answer these questions.
`Capture`s and `QueryParam`s are represented by some textual value in URLs.
`Header`s are similarly represented by a pair of a header name and a