@@ -29,54 +29,56 @@ pre.sourceCode span.Error { color: red; font-weight: bold; }
2929</style
3030 ></head
3131 ><body
32− ><h1 id="lhs-test"
33− >lhs test</h1
34− ><p
35− ><code
36− >unsplit</code
37− > is an arrow that takes a pair of values and combines them to return a single value:</p
38− ><pre class="sourceCode literatehaskell"
39− ><code
40− ><span class="Char Special"
41− >></span
42− ><span class="Function FunctionDefinition"
43− > unsplit ::</span
44− ><span class="Normal NormalText"
45− > (Arrow a) => (b -> c -> d) -> a (b, c) d</span
46− ><br
47− /><span class="Char Special"
48− >></span
49− ><span class="Normal NormalText"
50− > unsplit = arr . </span
51− ><span class="Function"
52− >uncurry</span
53− ><span class="Normal NormalText"
54− > </span
55− ><br
56− /><span class="Char Special"
57− >></span
58− ><span class="Normal NormalText"
59− > </span
60− ><span class="Comment"
61− >-- arr (\op (x,y) -> x `op` y) </span
62− ><br
63− /></code
64− ></pre
65− ><p
66− ><code
67− >(***)</code
68− > 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
69− ><pre
70− ><code
71− >f *** g = first f >>> second g
32+ ><div id="lhs-test"
33+ ><h1
34+ >lhs test</h1
35+ ><p
36+ ><code
37+ >unsplit</code
38+ > is an arrow that takes a pair of values and combines them to return a single value:</p
39+ ><pre class="sourceCode literatehaskell"
40+ ><code
41+ ><span class="Char Special"
42+ >></span
43+ ><span class="Function FunctionDefinition"
44+ > unsplit ::</span
45+ ><span class="Normal NormalText"
46+ > (Arrow a) => (b -> c -> d) -> a (b, c) d</span
47+ ><br
48+ /><span class="Char Special"
49+ >></span
50+ ><span class="Normal NormalText"
51+ > unsplit = arr . </span
52+ ><span class="Function"
53+ >uncurry</span
54+ ><span class="Normal NormalText"
55+ > </span
56+ ><br
57+ /><span class="Char Special"
58+ >></span
59+ ><span class="Normal NormalText"
60+ > </span
61+ ><span class="Comment"
62+ >-- arr (\op (x,y) -> x `op` y) </span
63+ ><br
64+ /></code
65+ ></pre
66+ ><p
67+ ><code
68+ >(***)</code
69+ > 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
70+ ><pre
71+ ><code
72+ >f *** g = first f >>> second g
7273</code
73− ></pre
74− ><p
75− >Block quote:</p
76− ><blockquote
77− ><p
78− >foo bar</p
79− ></blockquote
74+ ></pre
75+ ><p
76+ >Block quote:</p
77+ ><blockquote
78+ ><p
79+ >foo bar</p
80+ ></blockquote
81+ ></div
8082 ></body
8183 ></html
8284>