From 58eb78c437a411ee796e2c90d7c4681fe78d8254 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 8 Oct 2018 23:16:50 -0700 Subject: Fixed tests for new skylighting. --- test/lhs-test.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/lhs-test.html') diff --git a/test/lhs-test.html b/test/lhs-test.html index 5fce225df..3a3247982 100644 --- a/test/lhs-test.html +++ b/test/lhs-test.html @@ -29,7 +29,7 @@ a.sourceLine { text-indent: -1em; padding-left: 1em; } pre.numberSource a.sourceLine { position: relative; left: -4em; } pre.numberSource a.sourceLine::before - { content: attr(data-line-number); + { content: attr(title); position: relative; left: -1em; text-align: right; vertical-align: baseline; border: none; pointer-events: all; display: inline-block; -webkit-touch-callout: none; -webkit-user-select: none; @@ -82,9 +82,9 @@ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warni

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

-- cgit v1.2.3