From bea9253315b8b5beb6f66896eaceda92800ab32f Mon Sep 17 00:00:00 2001 From: Ɓukasz Hanuszczak Date: Wed, 22 Jul 2015 19:21:27 +0200 Subject: Fix unwitting compilation bug. --- haddock-api/src/Haddock/Backends/Xhtml/Specialize.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'haddock-api/src/Haddock/Backends/Xhtml/Specialize.hs') 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] -- cgit v1.2.3