[GHC] #9119: Additional symbols for XUnicodeSyntax

GHC ghc-devs at haskell.org
Fri May 16 16:10:28 UTC 2014


#9119: Additional symbols for XUnicodeSyntax
-------------------------------------+-------------------------------------
        Reporter:  spacekitteh       |            Owner:
            Type:  feature request   |           Status:  patch
        Priority:  normal            |        Milestone:
       Component:  Compiler          |          Version:  7.8.2
  (Parser)                           |         Keywords:  unicode
      Resolution:                    |     Architecture:  Unknown/Multiple
Operating System:  Unknown/Multiple  |       Difficulty:  Easy (less than 1
 Type of failure:  None/Unknown      |  hour)
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+-------------------------------------

Comment (by nomeata):

 I have strong doubts about the usefulness of the extra equality symbols.
 By making the parser detect them as `=` you take away the possibility for
 the user to define them as functions in their code. `≟` might be quite
 useful in, say, test suites.

 Also, without knowing much about parsing, doesn’t
 {{{
 ,("→",   ITrarrow, unicodeSyntaxEnabled)
 ,("→",   ITin, unicodeSyntaxEnabled)
 }}}
 conflict?

 Or will the parser do the right thing here?

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


More information about the ghc-tickets mailing list