Skip to content
Snippets Groups Projects
Commit e16028bd authored by Jade's avatar Jade :speech_balloon: Committed by Hannes Siebenhandl
Browse files

Adjust test for ghc MR !10993

parent 1d230980
No related branches found
No related tags found
1 merge request!49Adjust test for ghc MR !10993
......@@ -87,6 +87,32 @@
><div class="doc"
><p
>Lifted product of functors.</p
><h4 class="subheading details-toggle-control details-toggle" data-details-id="ch:Product0"
>Examples</h4
><details id="ch:Product0"
><summary class="hide-when-js-enabled"
>Expand</summary
><pre class="screen"
><code class="prompt"
>&gt;&gt;&gt; </code
><strong class="userinput"
><code
>fmap (+1) (Pair [1, 2, 3] (Just 0))
</code
></strong
>Pair [2,3,4] (Just 1)
</pre
><pre class="screen"
><code class="prompt"
>&gt;&gt;&gt; </code
><strong class="userinput"
><code
>Pair &quot;Hello, &quot; (Left 'x') &lt;&gt; Pair &quot;World&quot; (Right 'y')
</code
></strong
>Pair &quot;Hello, World&quot; (Right 'y')
</pre
></details
></div
><div class="subs constructors"
><p class="caption"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment