From 9d549ab683ba4d98a295dc156ea4b81f57f383a7 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 26 Jan 2013 16:09:41 -0800 Subject: RST writer: Use `.. code:: language` for code blocks with language. Closes #721. Also fixed whitespace in lhs tests. --- tests/lhs-test.html+lhs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/lhs-test.html+lhs') diff --git a/tests/lhs-test.html+lhs b/tests/lhs-test.html+lhs index 347009c5a..9be283671 100644 --- a/tests/lhs-test.html+lhs +++ b/tests/lhs-test.html+lhs @@ -30,8 +30,8 @@ code > span.er { color: #ff0000; 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) 
+> 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:

-- cgit v1.2.3