aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Backends/Hoogle.hs
diff options
context:
space:
mode:
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]