From bdf23d3a5d621808bb96b6390fa77177daf3907a Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 4 Feb 2011 23:25:28 -0800 Subject: Improved HTML table output (line breaks). --- tests/lhs-test.html | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'tests/lhs-test.html') diff --git a/tests/lhs-test.html b/tests/lhs-test.html index f7c9819b2..d1ea1f128 100644 --- a/tests/lhs-test.html +++ b/tests/lhs-test.html @@ -26,19 +26,14 @@ code.sourceCode span.er { color: red; font-weight: bold; }

lhs test

-

unsplit is an arrow that takes a pair of values and combines them to return a single value:

-
unsplit :: (Arrow a) => (b -> c -> d) -> a (b, c) d
unsplit = arr . uncurry
-- arr (\op (x,y) -> x `op` y)
-

(***) 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).

-
f *** g = first f >>> second g
 
-

Block quote:

-
-

foo bar

+

foo bar

+ -- cgit v1.2.3