diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2020-08-31 21:22:03 +0200 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2020-08-31 21:22:03 +0200 |
commit | 3c07b1d9b64d0da0da32d87abe29a2db27d894fa (patch) | |
tree | e1d53dec025e5a91b5c3078622e29d2b43f43694 /test/lhs-test.html | |
parent | 613828e497ae6f39e6080af67846af8d89136208 (diff) | |
download | pandoc-3c07b1d9b64d0da0da32d87abe29a2db27d894fa.tar.gz |
Fix tests for skylighting 0.10
Diffstat (limited to 'test/lhs-test.html')
-rw-r--r-- | test/lhs-test.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/lhs-test.html b/test/lhs-test.html index 621d79163..e2db34ee4 100644 --- a/test/lhs-test.html +++ b/test/lhs-test.html @@ -84,9 +84,9 @@ <h1 id="lhs-test">lhs test</h1> <p><code>unsplit</code> is an arrow that takes a pair of values and combines them to return a single value:</p> -<div class="sourceCode" id="cb1"><pre class="sourceCode haskell literate"><code class="sourceCode haskell"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true"></a><span class="ot">unsplit ::</span> (<span class="dt">Arrow</span> a) <span class="ot">=></span> (b <span class="ot">-></span> c <span class="ot">-></span> d) <span class="ot">-></span> a (b, c) d</span> -<span id="cb1-2"><a href="#cb1-2" aria-hidden="true"></a>unsplit <span class="ot">=</span> arr <span class="op">.</span> <span class="fu">uncurry</span></span> -<span id="cb1-3"><a href="#cb1-3" aria-hidden="true"></a> <span class="co">-- arr (\op (x,y) -> x `op` y)</span></span></code></pre></div> +<div class="sourceCode" id="cb1"><pre class="sourceCode haskell literate"><code class="sourceCode haskell"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="ot">unsplit ::</span> (<span class="dt">Arrow</span> a) <span class="ot">=></span> (b <span class="ot">-></span> c <span class="ot">-></span> d) <span class="ot">-></span> a (b, c) d</span> +<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a>unsplit <span class="ot">=</span> arr <span class="op">.</span> <span class="fu">uncurry</span></span> +<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a> <span class="co">-- arr (\op (x,y) -> x `op` y)</span></span></code></pre></div> <p><code>(***)</code> combines two arrows into a new arrow by running the two arrows on a pair of values (one arrow on the first item of the pair and one arrow on the second item of the pair).</p> |