#1541: No way to set build fixity declarations in template haskell
-----------------------+----------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.6.1
Severity: normal | Keywords:
Difficulty: Unknown | Os: Multiple
Testcase: | Architecture: Multiple
-----------------------+----------------------------------------------------
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.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1541>
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