aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Backends/Xhtml
diff options
context:
space:
mode:
authorƁukasz Hanuszczak <lukasz.hanuszczak@gmail.com>2015-07-20 13:52:21 +0200
committerMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2015-08-21 18:22:31 +0100
commit8135ce02b26385a610587abb26775055c5323b31 (patch)
treed09d4e92e4971a2c9ccd0732d04ac6c588a7850b /haddock-api/src/Haddock/Backends/Xhtml
parent532478bcee19cf465a6a0ad24e05c6a571213c05 (diff)
Move `SetName` class definition to types module.
Diffstat (limited to 'haddock-api/src/Haddock/Backends/Xhtml')
-rw-r--r--haddock-api/src/Haddock/Backends/Xhtml/Specialize.hs6
1 files changed, 1 insertions, 5 deletions
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