#4491: dataToQa uses only unqualified names when converting values to their TH
representation.
---------------------------------+------------------------------------------
    Reporter:  gmainland         |        Owner:              
        Type:  bug               |       Status:  new         
    Priority:  normal            |    Milestone:  7.4.1       
   Component:  Template Haskell  |      Version:  6.12.3      
    Keywords:                    |     Testcase:              
   Blockedby:                    |   Difficulty:              
          Os:  Unknown/Multiple  |     Blocking:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by nicolas.frisby):

 Has anyone proposed something along the lines of

 {{{
 Data.Data.toConstrTH :: a -> Language.Haskell.TH.Name
 }}}

 ? I've simulated this with SYB3 (and corresponding copy-tweak-and-paste of
 dataToQa) in a project and it worked pretty nicely. Coupling Data.Data and
 TH like so does seem a bit heavy handed…

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4491#comment:6>
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

Reply via email to