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

GHC ghc-devs at haskell.org
Wed Aug 5 12:44:08 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 Ben Gamari <ben@…>):

 In [changeset:"575abf42e218925e456bf765abb14f069ac048a0/ghc"
 575abf42/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="575abf42e218925e456bf765abb14f069ac048a0"
 Add Fixity info for infix types

 Template Haskell allows reification of fixity for infix functions and
 data constructors, and not for infix types. This adds a `Fixity` field
 to the relevant `Info` constructors that can have infix types (`ClassI`,
 `TyConI`, and `FamilyI`).

 I don't think that `VarI` or `PrimTyConI` can be infix, but I could be
 wrong.

 Test Plan: ./validate

 Reviewers: austin, goldfire, bgamari

 Reviewed By: goldfire, bgamari

 Subscribers: thomie

 Differential Revision: https://phabricator.haskell.org/D1109

 GHC Trac Issues: #10704
 }}}

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


More information about the ghc-tickets mailing list