aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Backends/DevHelp.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Haddock/Backends/DevHelp.hs')
-rw-r--r--src/Haddock/Backends/DevHelp.hs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Haddock/Backends/DevHelp.hs b/src/Haddock/Backends/DevHelp.hs
index 3ba7baf3..951e422c 100644
--- a/src/Haddock/Backends/DevHelp.hs
+++ b/src/Haddock/Backends/DevHelp.hs
@@ -10,9 +10,11 @@ import Haddock.ModuleTree
import Haddock.Types
import Haddock.Utils
-import Module ( moduleName, moduleNameString, Module, mkModule, mkModuleName )
-import PackageConfig ( stringToPackageId )
+import Module
import Name ( Name, nameModule, getOccString, nameOccName )
+#if __GLASGOW_HASKELL__ < 609
+import PackageConfig (stringToPackageId)
+#endif
import Data.Maybe ( fromMaybe )
import qualified Data.Map as Map