Hey Joachim, On Fri, Jun 03, 2011 at 12:02:30AM +0200, Joachim Breitner wrote: > here on my machine and with ghc-7.0.3, things are reasonably fast. Can > you check whether it is still too slow for your, or whether maybe things > have improved with the new ghc version?
Things are very fast indeed, because the documentation for type-level isn't indexed. The reason for this is that: $ dpkg -L libghc-type-level-dev | grep 'conf$' /var/lib/ghc-7.0.3/package.conf.d/type-level-0.2.4.conf $ grep haddock /var/lib/ghc-7.0.3/package.conf.d/type-level-0.2.4.conf haddock-interfaces: /usr/lib/ghc-7.0.3/haddock/type-level-0.2.4/type-level.haddock haddock-html: /usr/share/doc/libghc-type-level-doc/html/ $ dpkg -L libghc-type-level-doc | grep 'haddock$' /usr/lib/ghc-7.0.2/haddock /usr/lib/ghc-7.0.2/haddock/type-level-0.2.4/type-level.haddock Notice that the files that should be in /usr/lib/ghc-7.0.3 are in /usr/lib/ghc-7.0.2. If I modify /usr/lib/ghc-doc/gen_contents_index to replace the path for type-level, then it gets slow again (24 seconds vs. 2 seconds if type-level is ignored). Regards, -- Tomáš Janoušek, a.k.a. Liskni_si, http://work.lisk.in/ -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

