This commit is contained in:
Rashad Gover 2023-04-23 19:36:52 +00:00
parent ecc358388f
commit 110f79b853
2 changed files with 2 additions and 2 deletions

View File

@ -306,7 +306,7 @@ data Plan m p q h b r = Plan
}
```
The `transformer` field represents a *natural transformation* from your Handler's Monad `m`, to `IO`. This is where you decide how you custom effects are interpreted in an `IO` context.
The `transformer` field represents a *natural transformation* from your Handler's Monad `m`, to `IO`. This is where you decide how your custom effects are interpreted in an `IO` context.
The `endpoint` field represents your Endpoint.

View File

@ -307,7 +307,7 @@ class="sourceCode haskell"><code class="sourceCode haskell"><span id="cb12-1"><a
<span id="cb12-5"><a href="#cb12-5" aria-hidden="true" tabindex="-1"></a> }</span></code></pre></div>
<p>The <code>transformer</code> field represents a <em>natural
transformation</em> from your Handler's Monad <code>m</code>, to
<code>IO</code>. This is where you decide how you custom effects are
<code>IO</code>. This is where you decide how your custom effects are
interpreted in an <code>IO</code> context.</p>
<p>The <code>endpoint</code> field represents your Endpoint.</p>
<p>The <code>handler</code> field represents your Handler. The types