[GHC] #10444: Tex.Read.Lex.lex broken

GHC ghc-devs at haskell.org
Tue Jun 2 19:04:38 UTC 2015


#10444: Tex.Read.Lex.lex broken
-------------------------------------+-------------------------------------
        Reporter:  strake888         |                   Owner:  ekmett
            Type:  bug               |                  Status:  patch
        Priority:  normal            |               Milestone:  7.12.1
       Component:  Core Libraries    |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Incorrect result  |  Unknown/Multiple
  at runtime                         |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------
Changes (by rwbarton):

 * cc: hvr (added)


Comment:

 Hi,

 I agree that this is a deviation from the Report-specified behavior of
 lex, since ∘ is a Unicode symbol character; and thanks for the patch.
 However, we generally try fairly hard not to introduce new boot files in
 base.

 ccing hvr, who is most likely to know off-hand: can this import cycle be
 worked around easily (probably by moving `isPunctuation` and `isSymbol`
 into `GHC.Unicode`)?

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


More information about the ghc-tickets mailing list