@@ -1,3 +1,4 @@
1+B
12<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
23<html xmlns="http://www.w3.org/1999/xhtml">
34<head>
@@ -7,6 +8,7 @@
78 <title></title>
89 <style type="text/css">code{white-space: pre;}</style>
910 <style type="text/css">
11+div.sourceCode { x-overflow: auto; }
1012table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode {
1113 margin: 0; padding: 0; vertical-align: baseline; border: none; }
1214table.sourceCode { width: 100%; line-height: 100%; }
@@ -29,9 +31,9 @@ code > span.er { color: #ff0000; font-weight: bold; }
2931<body>
3032<h1 id="lhs-test">lhs test</h1>
3133<p><code>unsplit</code> is an arrow that takes a pair of values and combines them to return a single value:</p>
32−<pre class="sourceCode literate haskell"><code class="sourceCode haskell"><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
34+<div class="sourceCode"><pre class="sourceCode literate haskell"><code class="sourceCode haskell"><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
3335unsplit <span class="fu">=</span> arr <span class="fu">.</span> uncurry
34− <span class="co">-- arr (\op (x,y) -> x `op` y)</span></code></pre>
36+ <span class="co">-- arr (\op (x,y) -> x `op` y)</span></code></pre></div>
3537<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>
3638<pre><code>f *** g = first f >>> second g</code></pre>
3739<p>Block quote:</p>