[GHC] #8959: GHCi should honour UnicodeSyntax

GHC ghc-devs at haskell.org
Sat Mar 28 22:15:43 UTC 2015


#8959: GHCi should honour UnicodeSyntax
-------------------------------------+-------------------------------------
        Reporter:  Fuuzetsu          |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  low               |               Milestone:  7.12.1
       Component:  Compiler          |                 Version:  7.6.3
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by int-e):

 I'm sorry I didn't find this while testing the release candidates. I did
 not expect such "simple" ghci queries to break, and besides lambdabot does
 not enable `UnicodeSyntax` by default, that's a customization for the one
 running on Freenode.

 My current "fix" for lambdabot to disable `UnicodeSyntax` for the two
 affected commands. This is the only sensible option because I do not want
 lambdabot to use the unicode symbols in its type signatures; in other
 words, fixing lambdabot properly (such that unicode syntax is allowed in
 the input) is not possible at this time.

 How would you feel about keeping the current behaviour by default, but
 adding flags `-fprint-unicode-syntax` and `-fno-print-unicode-syntax` to
 override the default, regardless of whether `UnicodeSyntax` is enabled or
 not?

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


More information about the ghc-tickets mailing list