From 8135ce02b26385a610587abb26775055c5323b31 Mon Sep 17 00:00:00 2001 From: Ɓukasz Hanuszczak Date: Mon, 20 Jul 2015 13:52:21 +0200 Subject: Move `SetName` class definition to types module. --- haddock-api/src/Haddock/Backends/Xhtml/Specialize.hs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'haddock-api/src/Haddock/Backends/Xhtml') diff --git a/haddock-api/src/Haddock/Backends/Xhtml/Specialize.hs b/haddock-api/src/Haddock/Backends/Xhtml/Specialize.hs index 37632ee7..4e68cb7b 100644 --- a/haddock-api/src/Haddock/Backends/Xhtml/Specialize.hs +++ b/haddock-api/src/Haddock/Backends/Xhtml/Specialize.hs @@ -11,6 +11,7 @@ module Haddock.Backends.Xhtml.Specialize import Haddock.Syb +import Haddock.Types import GHC import Name @@ -102,11 +103,6 @@ parseTupleArity ('(':commas) = do parseTupleArity _ = Nothing -class NamedThing name => SetName name where - - setName :: Name -> name -> name - - setInternalOccName :: SetName name => OccName -> name -> name setInternalOccName occ name = setName nname' name -- cgit v1.2.3