
16 Oct
2009
16 Oct
'09
1:52 p.m.
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.1... 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.