[GHC] #10412: isAlphaNum includes mark characters, but neither isAlpha nor isNumber do

GHC ghc-devs at haskell.org
Sun Mar 4 04:58:48 UTC 2018


#10412: isAlphaNum includes mark characters, but neither isAlpha nor isNumber do
-------------------------------------+-------------------------------------
        Reporter:  Artyom.Kazak      |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  libraries/base    |              Version:  7.10.1
      Resolution:                    |             Keywords:  unicode,
                                     |  newcomer
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by sighingnow):

 `GENCAT_MC|GENCAT_ME|GENCAT_MN` has been included in `u_iswalnum` since
 more than 10 years ago. However the documentation of `isAlphaNum` says
 "Selects alphabetic or numeric digit Unicode characters" and doesn't
 mention the "mark" characters.

 Should we fix the documentation of `isAlphaNum` to include "mark"
 characters or keep the documentation as it is and fix `u_iswalnum`?

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10412#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list