Ticket #3058: Add 'hex' to the pretty package (and other thoughts)

Thomas DuBuisson thomas.dubuisson at gmail.com
Mon Mar 2 20:16:19 EST 2009

On Mon, 2009-03-02 at 12:55 +0000, Duncan Coutts wrote:
> On Mon, 2009-03-02 at 01:53 -0800, Thomas DuBuisson wrote:
> > All,
> > 
> > http://hackage.haskell.org/trac/ghc/ticket/3058
> There are a number of other functions from the Numeric module we should
> also consider. These are all the ones that return ShowS, the equivalent
> of the Doc type.

I've added another patch to that ticket for consideration.  It has hex,
oct, intAtBase  (plus padded variants).  Also included are {e,f,g}float
without any padding options.

Padding floats could be touchy - perhaps it should be a separate patch
by someone who would use such a feature and know what they want.



More information about the Libraries mailing list