aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Interface.hs
diff options
context:
space:
mode:
authorZubin Duggal <zubin@cmi.ac.in>2020-06-09 16:58:22 +0530
committerZubin Duggal <zubin@cmi.ac.in>2020-06-21 21:19:18 +0530
commit45add0d8a39172d17e822b762508685d7b433639 (patch)
tree60fe9c1db01bf65bad43744b6164a7b5cbd38f9c /haddock-api/src/Haddock/Interface.hs
parent02a1def8d147da88a0433726590f8586f486c760 (diff)
Use functions exported from HsToCore
Diffstat (limited to 'haddock-api/src/Haddock/Interface.hs')
-rw-r--r--haddock-api/src/Haddock/Interface.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/haddock-api/src/Haddock/Interface.hs b/haddock-api/src/Haddock/Interface.hs
index 255cbdbc..fa20b836 100644
--- a/haddock-api/src/Haddock/Interface.hs
+++ b/haddock-api/src/Haddock/Interface.hs
@@ -61,6 +61,7 @@ import GHC.Types.Name (nameIsFromExternalPackage, nameOccName)
import GHC.Types.Name.Occurrence (isTcOcc)
import GHC.Types.Name.Reader (unQualOK, gre_name, globalRdrEnvElts)
import GHC.Utils.Error (withTimingD)
+import GHC.HsToCore.Docs
#if defined(mingw32_HOST_OS)
import System.IO