diff options
author | David Waern <david.waern@gmail.com> | 2008-08-13 21:44:17 +0000 |
---|---|---|
committer | David Waern <david.waern@gmail.com> | 2008-08-13 21:44:17 +0000 |
commit | 8fe13e0015d3e4a7190724c5c9a2442c1f176474 (patch) | |
tree | 17b230879637fe7e8d9183829c72146718568983 /src/Haddock/ModuleTree.hs | |
parent | befdccf529dcb60d5f2a909e308b85c958e6100e (diff) |
Follow move of package string functions from PackageConfig to Module
Diffstat (limited to 'src/Haddock/ModuleTree.hs')
-rw-r--r-- | src/Haddock/ModuleTree.hs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Haddock/ModuleTree.hs b/src/Haddock/ModuleTree.hs index 2413f951..eccfd3e5 100644 --- a/src/Haddock/ModuleTree.hs +++ b/src/Haddock/ModuleTree.hs @@ -9,7 +9,11 @@ module Haddock.ModuleTree ( ModuleTree(..), mkModuleTree ) where import Haddock.DocName import GHC ( HsDoc, Name ) import Module ( Module, moduleNameString, moduleName, modulePackageId ) -import PackageConfig ( packageIdString ) +#if __GLASGOW_HASKELL__ >= 609 +import Module (packageIdString) +#else +import PackageConfig (packageIdString) +#endif data ModuleTree = Node String Bool (Maybe String) (Maybe (HsDoc Name)) [ModuleTree] |