From 92eb93b4d7ede4a28aff90a1697951c6aef093cf Mon Sep 17 00:00:00 2001 From: Mark Lentczner Date: Thu, 17 Jun 2010 22:20:56 +0000 Subject: remove <++> connector --- src/Haddock/Backends/Xhtml/Util.hs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/Haddock/Backends/Xhtml/Util.hs') diff --git a/src/Haddock/Backends/Xhtml/Util.hs b/src/Haddock/Backends/Xhtml/Util.hs index 8229e002..9e13acd6 100644 --- a/src/Haddock/Backends/Xhtml/Util.hs +++ b/src/Haddock/Backends/Xhtml/Util.hs @@ -16,7 +16,7 @@ module Haddock.Backends.Xhtml.Util ( namedAnchor, linkedAnchor, spliceURL, - (<+>), (<++>), char, empty, + (<+>), char, empty, keyword, punctuate, braces, brackets, pabrackets, parens, parenList, ubxParenList, @@ -93,13 +93,10 @@ hsep :: [Html] -> Html hsep [] = noHtml hsep htmls = foldr1 (\a b -> a+++" "+++b) htmls -infixr 8 <+>, <++> +infixr 8 <+> (<+>) :: Html -> Html -> Html a <+> b = a +++ toHtml " " +++ b -(<++>) :: Html -> Html -> Html -a <++> b = a +++ spaceHtml +++ b - keyword :: String -> Html keyword s = thespan ! [theclass "keyword"] << toHtml s -- cgit v1.2.3