[Haskell-cafe] Meaning of "ribbonsPerLine" at Text.PrettyPrint.HughesPJ ?

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Wed Jun 18 17:41:52 EDT 2008

On Wed, 2008-06-18 at 13:55 -0700, Evan Laforge wrote:
> > byorgey: fons: I can't explain it, all I know is that you must set it
> > to 1 or else it does bizarre things
> > fons: hahah, ok
> > fons: byorgey: that's funny considering its default value is 1.5
> > byorgey: if you set it to 1 then lineLength means what you think it should
> > byorgey: fons: EXACTLY
> Excellent, thanks for solving a nagging problem I couldn't be bothered
> to track down.  I was wondering why my pretty printing was a little
> messed up and slightly too wide.
> And isn't 100 columns a bit non-standard for a default?  I thought 80
> columns had more traction?  I know that's what my terminals are at...

Yeah. I'd vote for 80. That's what we use in pretty printing messages in


More information about the Haskell-Cafe mailing list