Minor rewording in Server tutorial

Fixed an awkward wording in the Server tutorial.
This commit is contained in:
Jordan Kaye 2020-08-02 05:51:08 -06:00 committed by GitHub
parent 858fb6cce5
commit 9f8127ed54
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 ## The `FromHttpApiData`/`ToHttpApiData` classes
Wait... How does **servant** know how to decode the `Int`s from the URL? Or how 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 to decode a `ClientInfo` value from the request body? The following three sections will
following two sections address. help us answer these questions.
`Capture`s and `QueryParam`s are represented by some textual value in URLs. `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 `Header`s are similarly represented by a pair of a header name and a