@@ -4,79 +4,66 @@
44 <title></title>
55 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
66 <meta name="generator" content="pandoc" />
7− <meta name="date" content="" />
87 <style type="text/css">
9− table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode, table.sourceCode pre { margin: 0; padding: 0; border: 0; vertical-align: baseline; border: none; }
10− td.lineNumbers { border-right: 1px solid #AAAAAA; text-align: right; color: #AAAAAA; padding-right: 5px; padding-left: 5px; }
11− td.sourceCode { padding-left: 5px; }
12− pre.sourceCode { }
13− pre.sourceCode span.Normal { }
14− pre.sourceCode span.Keyword { color: #007020; font-weight: bold; }
15− pre.sourceCode span.DataType { color: #902000; }
16− pre.sourceCode span.DecVal { color: #40a070; }
17− pre.sourceCode span.BaseN { color: #40a070; }
18− pre.sourceCode span.Float { color: #40a070; }
19− pre.sourceCode span.Char { color: #4070a0; }
20− pre.sourceCode span.String { color: #4070a0; }
21− pre.sourceCode span.Comment { color: #60a0b0; font-style: italic; }
22− pre.sourceCode span.Others { color: #007020; }
23− pre.sourceCode span.Alert { color: red; font-weight: bold; }
24− pre.sourceCode span.Function { color: #06287e; }
25− pre.sourceCode span.RegionMarker { }
26− pre.sourceCode span.Error { color: red; font-weight: bold; }
8+table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode, table.sourceCode pre
9+ { margin: 0; padding: 0; border: 0; vertical-align: baseline; border: none; }
10+td.lineNumbers { text-align: right; background-color: #EBEBEB; color: black; padding-right: 5px; padding-left: 5px; }
11+td.sourceCode { padding-left: 5px; }
12+pre.sourceCode { }
13+pre.sourceCode span.kw { font-weight: bold; }
14+pre.sourceCode span.dt { color: #800000; }
15+pre.sourceCode span.dv { color: #0000FF; }
16+pre.sourceCode span.bn { color: #0000FF; }
17+pre.sourceCode span.fl { color: #800080; }
18+pre.sourceCode span.ch { color: #FF00FF; }
19+pre.sourceCode span.st { color: #DD0000; }
20+pre.sourceCode span.co { color: #808080; font-style: italic; }
21+pre.sourceCode span.ot { }
22+pre.sourceCode span.al { color: green; font-weight: bold; }
23+pre.sourceCode span.fu { color: #000080; }
24+pre.sourceCode span.re { }
25+pre.sourceCode span.er { color: red; font-weight: bold; }
2726 </style>
2827</head>
2928<body>
30−<div id="lhs-test"
31−><h1
32− >lhs test</h1
33− ><p
34− ><code
35− >unsplit</code
36− > is an arrow that takes a pair of values and combines them to return a single value:</p
37− ><pre class="sourceCode haskell"
38− ><code
39− ><span class="Special"
40− >> </span
41− ><span class="Function FunctionDefinition"
42− >unsplit ::</span
43− ><span class="Normal NormalText"
44− > (Arrow a) => (b -> c -> d) -> a (b, c) d</span
45− ><br
46− /><span class="Special"
47− >> </span
48− ><span class="Normal NormalText"
49− >unsplit = arr . </span
50− ><span class="Function"
51− >uncurry</span
52− ><span class="Normal NormalText"
53− > </span
54− ><br
55− /><span class="Special"
56− >> </span
57− ><span class="Normal NormalText"
58− > </span
59− ><span class="Comment"
60− >-- arr (\op (x,y) -> x `op` y) </span
61− ><br
62− /></code
63− ></pre
64− ><p
65− ><code
66− >(***)</code
67− > 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
68− ><pre
69− ><code
70− >f *** g = first f >>> second g
29+<h1 id="lhs-test"
30+>lhs test</h1
31+><p
32+><code
33+ >unsplit</code
34+ > is an arrow that takes a pair of values and combines them to return a single value:</p
35+><pre class="sourceCode haskell"
36+><code
37+ >> unsplit :: (<span class="dt"
38+ >Arrow</span
39+ > a) => (b -> c -> d) -> a (b, c) d<br
40+ />> unsplit <span class="fu"
41+ >=</span
42+ > arr <span class="fu"
43+ >.</span
44+ > <span class="fu"
45+ >uncurry</span
46+ > <br
47+ />> <span class="co"
48+ >-- arr (\op (x,y) -> x `op` y) </span
49+ ><br
50+ /></code
51+ ></pre
52+><p
53+><code
54+ >(***)</code
55+ > 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
56+><pre
57+><code
58+ >f *** g = first f >>> second g
7159</code
72− ></pre
73− ><p
74− >Block quote:</p
75− ><blockquote
76− ><p
77− >foo bar</p
78− ></blockquote
79− ></div
60+ ></pre
61+><p
62+>Block quote:</p
63+><blockquote
64+><p
65+ >foo bar</p
66+ ></blockquote
8067>
8168</body>
8269</html>