From a5e9146335e69f13c2dd1a4b49ed09b1651c2e95 Mon Sep 17 00:00:00 2001 From: David Waern Date: Sun, 3 Aug 2008 15:24:07 +0000 Subject: Move reL to H.GHC.Utils so we can use it everywhere --- src/Haddock/GHC/Utils.hs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Haddock/GHC') 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 -- cgit v1.2.3