diff options
author | David Waern <david.waern@gmail.com> | 2009-11-28 13:37:59 +0000 |
---|---|---|
committer | David Waern <david.waern@gmail.com> | 2009-11-28 13:37:59 +0000 |
commit | 70361f06e3ea982a2f56d87501ce31d2f29f7e58 (patch) | |
tree | 4dff137c7de31ca95fada5ac9558452801be0742 /src/Haddock/Interface/AttachInstances.hs | |
parent | 24bd965572dcbd0853aadc3c9a07ce4b41c732e0 (diff) |
Remove Name from DocInstance
It's not used.
Diffstat (limited to 'src/Haddock/Interface/AttachInstances.hs')
-rw-r--r-- | src/Haddock/Interface/AttachInstances.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Haddock/Interface/AttachInstances.hs b/src/Haddock/Interface/AttachInstances.hs index a10cb36a..43f2466d 100644 --- a/src/Haddock/Interface/AttachInstances.hs +++ b/src/Haddock/Interface/AttachInstances.hs @@ -55,7 +55,7 @@ attachInstances ifaces instIfaceMap = mapM attach ifaces Just (_, _, instances) -> let insts = map (first synifyInstHead) $ sortImage (first instHead) [ (instanceHead i, getName i) | i <- instances ] - in [ (name, inst, lookupInstDoc name iface instIfaceMap) + in [ (inst, lookupInstDoc name iface instIfaceMap) | (inst, name) <- insts ] Nothing -> [] } |