From 90647a56f6a742e7ecc1cec44042e256ff94b802 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 4 Feb 2011 20:37:58 -0800 Subject: Updated tests for new HTML format. Verified against old tests using tidy and diff. --- tests/lhs-test.nohl.html+lhs | 43 ++++++++++++++++--------------------------- 1 file changed, 16 insertions(+), 27 deletions(-) (limited to 'tests/lhs-test.nohl.html+lhs') diff --git a/tests/lhs-test.nohl.html+lhs b/tests/lhs-test.nohl.html+lhs index 8b972a044..e18ee4ce1 100644 --- a/tests/lhs-test.nohl.html+lhs +++ b/tests/lhs-test.nohl.html+lhs @@ -6,34 +6,23 @@ -

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
+

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

+
+ +

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

-- cgit v1.2.3