aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/GHC/Utils.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Haddock/GHC/Utils.hs')
-rw-r--r--src/Haddock/GHC/Utils.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Haddock/GHC/Utils.hs b/src/Haddock/GHC/Utils.hs
index 9ec5a5f7..5332475d 100644
--- a/src/Haddock/GHC/Utils.hs
+++ b/src/Haddock/GHC/Utils.hs
@@ -28,6 +28,10 @@ unL :: Located a -> a
unL (L _ x) = x
+reL :: a -> Located a
+reL = L undefined
+
+
moduleString :: Module -> String
moduleString = moduleNameString . moduleName