aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock
diff options
context:
space:
mode:
authorƁukasz Hanuszczak <lukasz.hanuszczak@gmail.com>2015-07-22 19:21:27 +0200
committerMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2015-08-21 18:22:31 +0100
commitbea9253315b8b5beb6f66896eaceda92800ab32f (patch)
treeaf380256328224a2ea2400f51cce12fdbb093675 /haddock-api/src/Haddock
parent3f404ba3c1b36212ae7507874aefb1e8cc107dd8 (diff)
Fix unwitting compilation bug.
Diffstat (limited to 'haddock-api/src/Haddock')
-rw-r--r--haddock-api/src/Haddock/Backends/Xhtml/Specialize.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/haddock-api/src/Haddock/Backends/Xhtml/Specialize.hs b/haddock-api/src/Haddock/Backends/Xhtml/Specialize.hs
index 69cd939b..78af98b8 100644
--- a/haddock-api/src/Haddock/Backends/Xhtml/Specialize.hs
+++ b/haddock-api/src/Haddock/Backends/Xhtml/Specialize.hs
@@ -320,7 +320,7 @@ findFreshName :: Set NameRep -> NameRep -> NameRep
findFreshName taken =
fromJust . List.find isFresh . alternativeNames
where
- isFresh = not . Set.member taken
+ isFresh = not . flip Set.member taken
alternativeNames :: NameRep -> [NameRep]