aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/GhcUtils.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Haddock/GhcUtils.hs')
-rw-r--r--src/Haddock/GhcUtils.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Haddock/GhcUtils.hs b/src/Haddock/GhcUtils.hs
index 597ed123..f79acd94 100644
--- a/src/Haddock/GhcUtils.hs
+++ b/src/Haddock/GhcUtils.hs
@@ -179,11 +179,11 @@ reL :: a -> Located a
reL = L undefined
-instance Foldable Located where
+instance Foldable (GenLocated l) where
foldMap f (L _ x) = f x
-instance Traversable Located where
+instance Traversable (GenLocated l) where
mapM f (L l x) = (return . L l) =<< f x