[GHC] #10704: Can't lookup fixities of infix types in Template Haskell
GHC
ghc-devs at haskell.org
Wed Jul 29 15:01:48 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 RyanGlScott):
You're right, a {{{Quasi}}}-based approach would be way cleaner. I'll
update Phab:D1109 to incorporate that.
I have one more question about fixities of {{{PrimTyConI}}}, though. It
makes sense that {{{(->)}}} has a fixity, now that I actually think about
it, but what about prefix types like {{{Char#}}}? Would these always have
be {{{infixl 9}}}? If so, should calling {{{qReifyFixity}}} on a
{{{TyVarI}}} also yield {{{Fixity 9 InfixL}}}?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10704#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list