From bb89fd99596020f5d7b5bc00c0fe783fb2d1de12 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 4 Feb 2011 23:09:51 -0800 Subject: Updated tests. --- tests/lhs-test.nohl.html | 9 +- tests/lhs-test.nohl.html+lhs | 9 +- tests/s5.basic.html | 4 - tests/s5.fancy.html | 4 - tests/s5.fragment.html | 3 - tests/s5.inserts.html | 3 - tests/tables.html | 13 -- tests/writer.html | 393 ++++++------------------------------------- 8 files changed, 56 insertions(+), 382 deletions(-) (limited to 'tests') diff --git a/tests/lhs-test.nohl.html b/tests/lhs-test.nohl.html index 663ea81bb..2b5208408 100644 --- a/tests/lhs-test.nohl.html +++ b/tests/lhs-test.nohl.html @@ -7,22 +7,15 @@

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

diff --git a/tests/lhs-test.nohl.html+lhs b/tests/lhs-test.nohl.html+lhs index e18ee4ce1..ef9967ec2 100644 --- a/tests/lhs-test.nohl.html+lhs +++ b/tests/lhs-test.nohl.html+lhs @@ -7,22 +7,15 @@

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

diff --git a/tests/s5.basic.html b/tests/s5.basic.html index 581c7842e..34016bf18 100644 --- a/tests/s5.basic.html +++ b/tests/s5.basic.html @@ -36,9 +36,7 @@
-

First slide

-