7 lines
420 B
HTML
7 lines
420 B
HTML
<h2 id="composition-fixable">Composition Fixable?</h2>
|
|
<p>How to fix that? We want to construct an operator which is able to compose:</p>
|
|
<p><code>f :: a -> F b</code> & <code>g :: b -> F c</code>.</p>
|
|
<p>More specifically we want to create an operator ◎ of type</p>
|
|
<p><code>◎ :: (b -> F c) -> (a -> F b) -> (a -> F c)</code></p>
|
|
<p>Note: if <code>F</code> = I, ◎ = <code>(.)</code>.</p>
|