Ticket #3058: Add 'hex' to the pretty package (and other
thoughts)
Duncan Coutts
duncan.coutts at worc.ox.ac.uk
Mon Mar 2 16:30:47 EST 2009
On Mon, 2009-03-02 at 17:16 -0800, Thomas DuBuisson wrote:
> 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.
>
> Thoughts?
Presumably it would be uncontroversial for the float ones to behave the
same as the ones from the existing Numeric module.
Duncan
More information about the Libraries
mailing list