cvs commit: fptools/libraries/base/GHC
WCsubst.cfptools/libraries/base/include WCsubst.h HsBase.h
ross at soi.city.ac.uk
Mon Mar 14 10:27:59 EST 2005
On Mon, Mar 14, 2005 at 03:09:53PM -0000, Simon Marlow wrote:
> > Might it make sense for Data.Char to re-export GeneralCategory,
> > generalCategory and toTitle?
> > The new predicates could be moved to Data.Char.
> Sure. Will Hugs now be using the version of this code in
Yes, as it's mostly the same as what Hugs is using now.
> > isDigit returns True for all decimal numbers (Nd), not just the
> > documented [0-9]. Won't this break readDec and readHex? If there
> > is a predicate selecting Nd, you also need a function giving the
> > value of a digit, as well as a predicate for ASCII digits.
> Ah yes, I thought there was a good reason to have isDigit only recognise
> 0..9. I'll make that change; we have isNumber to recognise the whole Nd
isNumber selects Nd, Nl and No. There's always generalCategory.
More information about the Cvs-libraries