mirror of
https://github.com/monadicsystems/okapi.git
synced 2024-11-26 10:15:48 +03:00
Fix layout
This commit is contained in:
parent
d4477bb4ee
commit
843bd00d06
@ -487,6 +487,8 @@ putUser = getUser
|
||||
|
||||
This way, we can define the `putUser` Endpoint by simply modifying `getUser` and avoid repeating our self.
|
||||
|
||||
***
|
||||
|
||||
## Matchpoint
|
||||
|
||||
A Matchpoint is a *pattern* that matches on Request values.
|
||||
@ -618,6 +620,8 @@ We recommend using Endpoints. Matchpoints are great if you're not worried about
|
||||
|
||||
In short, if you don't care about safety, use Matchpoints.
|
||||
|
||||
***
|
||||
|
||||
## Servant <> Okapi
|
||||
|
||||
Coming Soon
|
||||
|
@ -482,6 +482,7 @@ class="sourceCode haskell"><code class="sourceCode haskell"><span id="cb19-1"><a
|
||||
<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 avoid repeating our self.</p>
|
||||
<hr />
|
||||
<h2 id="matchpoint">Matchpoint</h2>
|
||||
<p>A Matchpoint is a <em>pattern</em> that matches on Request
|
||||
values.</p>
|
||||
@ -622,6 +623,7 @@ well).</p></li>
|
||||
<code>-XViewPatterns</code> language extensions.</p></li>
|
||||
</ol>
|
||||
<p>In short, if you don't care about safety, use Matchpoints.</p>
|
||||
<hr />
|
||||
<h2 id="servant<>okapi">Servant <> Okapi</h2>
|
||||
<p>Coming Soon</p>
|
||||
</main>
|
||||
|
Loading…
Reference in New Issue
Block a user