patch applied (haddock2): Find instances using GHC, which is more complete.

Simon Marlow <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.other
Message-ID <[email protected]>
Mon Aug 17 19:23:31 PDT 2009  Isaac Dupree <[email protected]>
  * Find instances using GHC, which is more complete.
  Ignore-this: 406f6c94aedd4d01fbdb3669b61e995
  In particular, it works cross-package.
  
  An intermediate patch also moved the instance-finding into
  createInterface, but that move turned out not to be necessary,
  so if we want to do that, it'd go in a separate patch.
  (Is that possible? Or will we need GHC to have loaded all the modules
  first, before we can go searching for the instances (e.g. if the
  modules are recursive or something)?)

    M ./src/Haddock/Interface.hs -2 +1
    M ./src/Haddock/Interface/AttachInstances.hs -36 +21

View patch online:
http://darcs.haskell.org/haddock2/_darcs/patches/20090818022331-6c1c4-ccc27400ba33190b750d13fd9943ea4cf6472608.gz
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.