#4430: Better support for resolving infix expressions in template haskell
---------------------------------+------------------------------------------
Reporter: reinerp | Owner: reinerp
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Template Haskell | Version: 6.12.3
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Comment(by reinerp):
That seems fair enough. Unless anything else comes up, I'll go ahead and
do it this way.
One remaining point, which is probably easiest just to ignore for now, is:
once the {{{UnresolvedInfixE}}} and {{{Parens}}} constructors are
supported, the {{{InfixE}}} constructor is not strictly necessary
(ignoring sections): any application
{{{
InfixE left op right
}}}
can be rewritten as
{{{
Parens (UnresolvedInfixE
(Parens left)
op
(Parens right)
)
}}}
It's just a bit odd.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4430#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs