cvs commit: fptools/libraries/base/GHC Unicode.hs
Ross Paterson
ross at soi.city.ac.uk
Fri Nov 12 11:21:16 EST 2004
On Fri, Nov 12, 2004 at 07:14:17AM -0800, Simon Marlow wrote:
> Modified files:
> libraries/base/GHC Unicode.hs
> Log:
> Note Haskell 98 divergence in isAlpha.
I was hoping you'd change it to remove the divergence, either by defining
isAlpha c = isUpper c || isLower c
or
isUpper c = isAlpha c && not isLower c
The most sensible meaning for isAlpha seems to be the Unicode Letter
category, which falls between glibc's implementation of these two,
though the second is closer. (isAlphaNum is not affected)
More information about the Cvs-libraries
mailing list