Hi, When you have a good understanding of a programming library and only need to quickly refresh your memory regarding the type signature of a specific function, etc., I find man pages very convenient. Are there any plans of adding this as an alternative output format in Haddock? If not, maybe I will try to write a patch when I find some spare time, but it would be encouraging to know if this would interest anyone else but myself? Cheers Per
Per Larsson writes:
Are there any plans of adding this as an alternative output format in Haddock?
It might be easiest to support Docbook output in Haddock and to generate all other formats from that -- including "man" a.k.a. nroff. Adapting the HTML output for SGML or XML is probably less of an effort than writing a new driver from the scratch. In any case, I too would appreciate generated man files for Haskell modules. Peter
Am Freitag, 2. Januar 2004 14:02 schrieb Per Larsson:
Hi,
When you have a good understanding of a programming library and only need to quickly refresh your memory regarding the type signature of a specific function, etc., I find man pages very convenient. Are there any plans of adding this as an alternative output format in Haddock? If not, maybe I will try to write a patch when I find some spare time, but it would be encouraging to know if this would interest anyone else but myself?
Hello, I think there is some software to translate some DocBook derivate to man pages. Maybe one could use the DocBook export mechanism of Haddock for man page production. Just and idea.
Cheers Per
Wolfgang
participants (3)
-
Per Larsson -
Peter Simons -
Wolfgang Jeltsch