[GHC] #10056: Inconsistent precedence of ~

GHC ghc-devs at haskell.org
Tue Aug 4 12:07:19 UTC 2015


#10056: Inconsistent precedence of ~
-------------------------------------+-------------------------------------
        Reporter:  crockeea          |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.8.4
  (Parser)                           |
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:  #10059            |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by goldfire):

 Agreed that `~` should be built-in. Using `TypeOperators`, `GADTs` or
 `TypeFamilies` to enable `~` also makes sense, given the history.

 It sounds like you're moving toward the "non-magical in the parser but
 magical in the renamer" route, which I generally support.

 Thanks for pushing this along!

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


More information about the ghc-tickets mailing list