From b6cf490efd214552b5d36b0c67bdfa0705cc1130 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 10 Feb 2019 08:06:53 -0800 Subject: Use latest skylighting. --- test/Tests/Writers/HTML.hs | 2 +- test/lhs-test.html | 2 +- test/lhs-test.html+lhs | 2 +- test/lhs-test.latex | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'test') diff --git a/test/Tests/Writers/HTML.hs b/test/Tests/Writers/HTML.hs index dfacda608..de8b1ef17 100644 --- a/test/Tests/Writers/HTML.hs +++ b/test/Tests/Writers/HTML.hs @@ -34,7 +34,7 @@ tests :: [TestTree] tests = [ testGroup "inline code" [ "basic" =: code "@&" =?> "@&" , "haskell" =: codeWith ("",["haskell"],[]) ">>=" - =?> ">>=" + =?> ">>=" , "nolanguage" =: codeWith ("",["nolanguage"],[]) ">>=" =?> ">>=" ] diff --git a/test/lhs-test.html b/test/lhs-test.html index 03dd347ff..067c8c4f6 100644 --- a/test/lhs-test.html +++ b/test/lhs-test.html @@ -83,7 +83,7 @@ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warni

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
+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 diff --git a/test/lhs-test.html+lhs b/test/lhs-test.html+lhs index ee0d8a299..8e29133dc 100644 --- a/test/lhs-test.html+lhs +++ b/test/lhs-test.html+lhs @@ -83,7 +83,7 @@ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warni

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
+> 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 diff --git a/test/lhs-test.latex b/test/lhs-test.latex index da7dfe6a0..2c464d488 100644 --- a/test/lhs-test.latex +++ b/test/lhs-test.latex @@ -109,7 +109,7 @@ return a single value: \begin{Shaded} \begin{Highlighting}[] \OtherTok{unsplit ::}\NormalTok{ (}\DataTypeTok{Arrow}\NormalTok{ a) }\OtherTok{=>}\NormalTok{ (b }\OtherTok{->}\NormalTok{ c }\OtherTok{->}\NormalTok{ d) }\OtherTok{->}\NormalTok{ a (b, c) d} -\NormalTok{unsplit }\FunctionTok{=}\NormalTok{ arr }\FunctionTok{.} \FunctionTok{uncurry} +\NormalTok{unsplit }\OtherTok{=}\NormalTok{ arr }\OperatorTok{.} \FunctionTok{uncurry} \CommentTok{-- arr (\textbackslash{}op (x,y) -> x `op` y)} \end{Highlighting} \end{Shaded} -- cgit v1.2.3