mirror of
https://github.com/monadicsystems/okapi.git
synced 2024-11-22 17:04:17 +03:00
Fix wording
This commit is contained in:
parent
fd979b9cb7
commit
7967d41eae
@ -477,7 +477,7 @@ putUser = getUser
|
||||
}
|
||||
```
|
||||
|
||||
This way, we can define the `putUser` Endpoint by simply modifying `getUser` and without repeating our self.
|
||||
This way, we can define the `putUser` Endpoint by simply modifying `getUser` and avoid repeating our self.
|
||||
|
||||
## Matchpoint
|
||||
|
||||
|
@ -476,7 +476,7 @@ class="sourceCode haskell"><code class="sourceCode haskell"><span id="cb19-1"><a
|
||||
<span id="cb19-18"><a href="#cb19-18" aria-hidden="true" tabindex="-1"></a> <span class="op">...</span> <span class="co">-- The appropriate responses for a PUT request</span></span>
|
||||
<span id="cb19-19"><a href="#cb19-19" aria-hidden="true" tabindex="-1"></a> }</span></code></pre></div>
|
||||
<p>This way, we can define the <code>putUser</code> Endpoint by simply
|
||||
modifying <code>getUser</code> and without repeating our self.</p>
|
||||
modifying <code>getUser</code> and avoid repeating our self.</p>
|
||||
<h2 id="matchpoint">Matchpoint</h2>
|
||||
<p>A Matchpoint is a <em>pattern</em> that matches on Request
|
||||
values.</p>
|
||||
|
Loading…
Reference in New Issue
Block a user