[GHC] #8524: GHC is inconsistent with the Haskell Report on which Unicode characters are allowed in string and character literals

GHC ghc-devs at haskell.org
Fri Sep 11 13:23:42 UTC 2015


#8524: GHC is inconsistent with the Haskell Report on which Unicode characters are
allowed in string and character literals
-------------------------------------+-------------------------------------
        Reporter:  oerjan            |                   Owner:
                                     |  RyanGlScott
            Type:  bug               |                  Status:  new
        Priority:  low               |               Milestone:
       Component:  Compiler          |                 Version:  7.6.3
  (Parser)                           |
      Resolution:                    |                Keywords:  newcomer
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:  Phab:D1235
-------------------------------------+-------------------------------------

Comment (by RyanGlScott):

 It looks like I might have jumped the gun on this a bit too early! That's
 okay, though—let's figure out what exactly needs to change.

 It looks like people want Space/uniWhite in strings, which GHC already
 allows, so no changes are needed there. At least one person has expressed
 the desire for inclusion of Format in string and Space uniWhite in string
 gaps, so unless anyone has any objections, should we push to make GHC as
 inclusive as possible w.r.t. Unicode?

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


More information about the ghc-tickets mailing list