cvs commit: fptools/libraries/base/Data Char.hs
fptools/libraries /base/GHC Base.lhs Read.lhs Show.lhs Unicode.hsc
Date: Tue, 26 Aug 2003 12:24:23 +0100
Ross Paterson
ross@soi.city.ac.uk
Tue, 26 Aug 2003 14:20:47 +0100
On Tue, Aug 26, 2003 at 07:25:02AM -0400, Simon Marlow wrote:
> I think you'll find that the current implementation of isDigit does only
> recognise '0'..'9' (well, it depends on the OS, but the Linux locale
> tables only recognise '0'..'9' as digits).
Yes, it seems C99 mandates this. But there are also differences in
isAlpha (non-ASCII digits) and isUpper (letters with neither upper-
nor lower-case counterpart).