aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Backends/Html.hs
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2008-07-12 16:48:28 +0000
committerDavid Waern <david.waern@gmail.com>2008-07-12 16:48:28 +0000
commit32868490786d0328c59097915d5c56d3220d2a86 (patch)
treefa30f28e9f8bd9632a496b2917168f0d4f7a6c70 /src/Haddock/Backends/Html.hs
parentb32cad20b4e8c6c187ed2244d4fd79d0a6b6511b (diff)
Stop using the map from exported names to declarations
During creation of the interface, we were using two maps: one from exported names to declarations, and one from all defined names in the module to declarations. The first contained subordinate names while the second one didn't. The first map was never used to look up names not defined in the associated module, so if we add subordinate names to the second map, we could use it everywhere. That's that this patch does. This simplifies code because we don't have to pass around two maps everywhere. We now store the map from locally defined things in the interface structure instead of the one from exported names.
Diffstat (limited to 'src/Haddock/Backends/Html.hs')
0 files changed, 0 insertions, 0 deletions