showing Ratios

Iavor Diatchki iavor.diatchki at
Sun Feb 28 22:56:21 EST 2010

I am not sure about the rationale but if you need a program/library
which re-renders Show-able values with more spaces, so that they are
more human readable,  I wrote one
(  I find it very
useful for debugging.

On Sun, Feb 28, 2010 at 7:03 PM, Evan Laforge <qdunkan at> wrote:
> This must be explained somewhere, but I can't find it.  I've always
> been curious why ghc's Show avoids all unnecessary spaces.  It's
> contrary to how most people format source so it can't be pasted into
> source, and can be hard to read.  Other languages tend to put in
> spaces.  I don't see anything in
> specifying the
> whitespace usage of Show.  I notice that the examples don't use
> spaces, but those are just examples, right?
> What's the rationale?
> _______________________________________________
> Haskell-prime mailing list
> Haskell-prime at

More information about the Haskell-prime mailing list