mirror of
https://github.com/monadicsystems/okapi.git
synced 2024-11-23 01:13:38 +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
|
## 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-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>
|
<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
|
<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>
|
<h2 id="matchpoint">Matchpoint</h2>
|
||||||
<p>A Matchpoint is a <em>pattern</em> that matches on Request
|
<p>A Matchpoint is a <em>pattern</em> that matches on Request
|
||||||
values.</p>
|
values.</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user