Text.PrettyPrint bug or doc bug

Ian Lynagh igloo at earth.li
Sun Feb 28 14:58:51 EST 2010


On Wed, Feb 24, 2010 at 01:10:38PM +0100, Marcus D. Gabriel wrote:
> 
> The documentation for Text.PrettyPrint.HughesPJ states
> that vcat is the "List version of $$", but it works as
> the list version ($+$).
> 
> So either the documentation needs to be changed or
> the code.  It would be nice to have both versions.

It looks like the behaviour changed in

Tue Jun 24 12:37:15 BST 2008  benedikt.huber at gmail.com
  * fillNB bug, lazy vcat

i.e. the version that came with GHC 6.10. As it's had the current
behaviour for some time, it would probably make sense to have a
library submission to determine what the behaviour should be, and
whether we want another function for the other behaviour:
    http://www.haskell.org/haskellwiki/Library_submissions


Thanks
Ian



More information about the Libraries mailing list