[GHC] #10704: Can't lookup fixities of infix types in Template Haskell

GHC ghc-devs at haskell.org
Wed Jul 29 15:07:00 UTC 2015


#10704: Can't lookup fixities of infix types in Template Haskell
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                   Owner:
                                     |  RyanGlScott
            Type:  feature request   |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Template Haskell  |                 Version:  7.10.1
      Resolution:                    |                Keywords:  newcomer
Operating System:  Unknown/Multiple  |            Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:  Phab:D1109
-------------------------------------+-------------------------------------

Comment (by goldfire):

 Yes, something without a declared fixity defaults to `infixl 9`. But my
 guess is that the existing fixity-lookup scheme already handles this case.
 You'll probably have to deal with `(->)` specially (use
 `BasicTypes.funTyFixity`), but I think that will be the only special case.

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


More information about the ghc-tickets mailing list