[GHC] #9668: Unicode info is out of date

GHC ghc-devs at haskell.org
Mon Oct 6 07:27:02 UTC 2014


#9668: Unicode info is out of date
-------------------------------------+-------------------------------------
              Reporter:  dfeuer      |            Owner:  ekmett
                  Type:  task        |           Status:  new
              Priority:  normal      |        Milestone:  7.10.1
             Component:  Core        |          Version:  7.9
  Libraries                          |         Keywords:  Unicode
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:              |       Difficulty:  Unknown
  Unknown/Multiple                   |       Blocked By:
       Type of failure:  Incorrect   |  Related Tickets:
  result at runtime                  |
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by dfeuer):

 Replying to [comment:2 rwbarton]:
 > Yes, we really ought to have a `Note: [Unicode standard updates]` that
 documents everything that needs to happen when a new Unicode standard is
 released. (e.g. if there are magic constants in the Haskell `isSpace` that
 need to change if a formerly reserved character becomes whitespace, that
 should be listed too.)
 >
 > (Also, the User's Guide should mention the version of the Unicode
 standard ghc implements, if it doesn't do so already.)

 It appears that all that's required is running
 `libraries/base/cbits/ubconfc` and feeding it the appropriate
 specification table as standard input. This replaces `WCsubst.c` and
 everything (including `isSpace`) works. If I manage to write a Haskell
 version of this system, the requirements will be similarly simple. The
 only trouble is figuring out just what table it's supposed to be fed.

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


More information about the ghc-tickets mailing list