[GHC] #1577: Give TH the ability to get the info for a class name

GHC trac at galois.com
Thu Aug 2 06:37:43 EDT 2007


#1577: Give TH the ability to get the info for a class name
----------------------------------+-----------------------------------------
    Reporter:  iampure at gmail.com  |        Owner:         
        Type:  feature request    |       Status:  new    
    Priority:  normal             |    Milestone:         
   Component:  Template Haskell   |      Version:  6.6.1  
    Severity:  normal             |   Resolution:         
    Keywords:                     |   Difficulty:  Unknown
          Os:  Unknown            |     Testcase:         
Architecture:  Unknown            |  
----------------------------------+-----------------------------------------
Comment (by iampure at gmail.com):

 Shouldn't the following work too then with Control.Monad loaded?

 {{{
  a = reify 'Monad
 }}}

 I get:

 Not in scope: data constructor `Monad'

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1577>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list