#4491: dataToQa uses only unqualified names when converting values to their TH
representation.
---------------------------------+------------------------------------------
Reporter: gmainland | Owner:
Type: bug | 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 simonpj):
Interesting. What is a "resolved module name"? And how would you get
hold of the resolved module name for the constructor without changing
`Data`?
I'd certainly entertain a patch. As you say, changing `Data` would be a
fairly big deal, so if you can figure out a way to solve the problem
without doing so, that'd be much easier. I'd totally forgotten about
`dataToQa` and friends, and had to go back to your paper to figure out
what they do. (Even then I'm shaky. Could you add some more explicit
Haddock comments?) So I doubt they are used a lot, and changes there
would be easier.
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4491#comment:1>
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