aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Backends/Hoogle.hs
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2010-11-16 01:14:15 +0000
committerDavid Waern <david.waern@gmail.com>2010-11-16 01:14:15 +0000
commit9ae1088fd211df4796dcd0a99c048e09a7c61d51 (patch)
treeeb787efc4643c897ef3a87e359e8e937f250cc5b /src/Haddock/Backends/Hoogle.hs
parent0a53f7fd06815ea995b000ce0194c9c296772453 (diff)
hlint police
Diffstat (limited to 'src/Haddock/Backends/Hoogle.hs')
-rw-r--r--src/Haddock/Backends/Hoogle.hs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Haddock/Backends/Hoogle.hs b/src/Haddock/Backends/Hoogle.hs
index e597bab0..b9296be5 100644
--- a/src/Haddock/Backends/Hoogle.hs
+++ b/src/Haddock/Backends/Hoogle.hs
@@ -240,13 +240,12 @@ markupTag = Markup {
markupCodeBlock = box TagPre,
markupURL = box (TagInline "a") . str,
markupAName = const $ str "",
- markupExample = box TagPre . str . unlines . (map exampleToString)
+ markupExample = box TagPre . str . unlines . map exampleToString
}
showTags :: [Tag] -> [String]
-showTags = concat . intersperse [""] . map showBlock
- where
+showTags = intercalate [""] . map showBlock
showBlock :: Tag -> [String]