Fix layout

This commit is contained in:
Rashad Gover 2023-04-23 19:14:06 +00:00
parent d4477bb4ee
commit 843bd00d06
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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&lt;&gt;okapi">Servant &lt;&gt; Okapi</h2>
<p>Coming Soon</p>
</main>