@@ -1,18 +1,21 @@
11# lhs test
22
3−`unsplit` is an arrow that takes a pair of values and combines them
4−to return a single value:
3+`unsplit` is an arrow that takes a pair of values and combines them to return
4+a single value:
55
6− unsplit :: (Arrow a) => (b -> c -> d) -> a (b, c) d
7− unsplit = arr . uncurry
8− -- arr (\op (x,y) -> x `op` y)
6+~~~~ {.sourceCode .literate .haskell}
7+unsplit :: (Arrow a) => (b -> c -> d) -> a (b, c) d
8+unsplit = arr . uncurry
9+ -- arr (\op (x,y) -> x `op` y)
10+~~~~
911
10−`(***)` combines two arrows into a new arrow by running the two
11−arrows on a pair of values (one arrow on the first item of the pair
12−and one arrow on the second item of the pair).
12+`(***)` combines two arrows into a new arrow by running the two arrows on a
13+pair of values (one arrow on the first item of the pair and one arrow on the
14+second item of the pair).
1315
1416 f *** g = first f >>> second g
1517
1618Block quote:
1719
1820> foo bar
21+