Dear all,

I want a function that produces
the URL of the haddocumentation of a given type, generically.

My solution is that the argument (type) is an instance of Data.Typeable
and I am parsing the output of  show  of the TypeRep, cf.
http://dfa.imn.htwk-leipzig.de/cgi-bin/cvsweb/common/Gateway/Help.hs?rev=1.11

That stops working when I split my project into several packages.
Is there a way to obtain the package name from the TypeRep?
Because I seem to need it to procuce the correct URL.

Or else, is there a way to merge all the per-package haddock outputs?
Perhaps a pseudo-package that imports all and re-exports everything?

Best - Johannes.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to