Ticket #1541 (closed bug: fixed)
No way at all to set fixity for infix operators defined in template haskell
| Reported by: | guest | Owned by: | reinerp |
|---|---|---|---|
| Priority: | normal | Milestone: | _|_ |
| Component: | Template Haskell | Version: | 6.6.1 |
| Keywords: | Cc: | eir@… | |
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | None/Unknown | Difficulty: | Unknown |
| Test Case: | th/T1541 | Blocked By: | |
| Blocking: | Related Tickets: |
Description
There appears to be no way to create fixity declarations in template haskell.
As a result, I can define a complicated sequence of infix identifiers in a template Haskell expression, but I still have to go through and hand-enter the {infixl, infixr, infix} declarations at the top. Admittedly the fixities it creates won't be used by the current module, but importers of the module should still see them.
There is a precedent for template Haskell handling some fixity concerns because all of the Info pieces of template Haskell tell you the fixities of the infix operators in question.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

