ps there has to be a less ugly way to get the doc path than this, though:
ghc-pkg field base haddock-html | sed -e 's/^[^:]*: //' -e 's/$topdir/echo `ghc --print-libdir`/e'

http://hackage.haskell.org/trac/ghc/ticket/937

This fix will be in 6.6.1.

great, thanks!
that almost makes my suggestion for ghc --print-docdir obsolete.
perhaps the users guide should be a "documentation package", but then its html is not haddock-html, so --print-docdir is needed after all.

btw, is there a reason that --simple-output only applies to 'list'?
i had hoped it would apply to 'field', too, giving only the field value
(actually, it does seem to apply beyond 'list' in a recent head, but still not to 'field').

claus

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to