diff options
author | Ćukasz Hanuszczak <lukasz.hanuszczak@gmail.com> | 2015-07-22 19:21:27 +0200 |
---|---|---|
committer | Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk> | 2015-08-21 18:22:31 +0100 |
commit | bea9253315b8b5beb6f66896eaceda92800ab32f (patch) | |
tree | af380256328224a2ea2400f51cce12fdbb093675 | |
parent | 3f404ba3c1b36212ae7507874aefb1e8cc107dd8 (diff) |
Fix unwitting compilation bug.
-rw-r--r-- | haddock-api/src/Haddock/Backends/Xhtml/Specialize.hs | 2 |
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] |