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

Evan Laforge qdunkan at gmail.com
Wed Jun 18 16:55:32 EDT 2008


> 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...


More information about the Haskell-Cafe mailing list