#1541: No way at all to set fixity for infix operators defined in template
haskell
---------------------------------+------------------------------------------
Reporter: guest | Owner: reinerp
Type: bug | Status: new
Priority: normal | Milestone: _|_
Component: Template Haskell | Version: 6.6.1
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: None/Unknown
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Comment(by mgsloan1):
++ I want this too!
My suggestion would be to make it the following:
{{{
data Dec =
...
| FixityD Fixity Name
...
}}}
As nearly all of the TH constructors use the order of the syntax for the
order of the fields.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1541#comment:10>
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