long lines of code with Haddock

2003-12-31 Thread Wolfgang Jeltsch
Hello,

Haddock 0.6 produces output where code generated from non-comment source (like 
the declarations in the synopsis) is not split across multiple lines.  Since 
my type declarations are rather long, the Haddock-produced lines get much 
larger than my screen when shown in a web browser.  How can I make Haddock 
split these lines and maybe even indenting lines to produce a nice layout?  
The documentation of the hierarchical libraries seems to use an automatic 
line breaking feature.

Wolfgang

___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell


Re: long lines of code with Haddock

2003-12-31 Thread Sven Panne
Wolfgang Jeltsch wrote:
[...] How can I make Haddock split these lines and maybe even indenting lines
to produce a nice layout? The documentation of the hierarchical libraries 
seems to use an automatic line breaking feature.
There have been some small changes after Haddock 0.6 was released, including
the wrapping behaviour you mention. Build Haddock from CVS and you get what
you are looking for, except for indenting.
Cheers,
   S.
___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell