#1480: Template Haskell should allow reification of modules
-------------------------------+--------------------------------------------
  Reporter:  igloo             |          Owner:         
      Type:  feature request   |         Status:  new    
  Priority:  normal            |      Milestone:  6.8    
 Component:  Template Haskell  |        Version:  6.6.1  
  Severity:  normal            |       Keywords:         
Difficulty:  Unknown           |             Os:  Unknown
  Testcase:                    |   Architecture:  Unknown
-------------------------------+--------------------------------------------
It should be possible to reify a module from a splice. If the module is
 thisModule then it would only tell you about things above the current
 splice.

 This comes up quite often; for example:

 In http://www.haskell.org/pipermail/haskell-cafe/2007-June/027205.html
 Brent Yorgey wants to get a list of top-level functions names prop_* in
 order to build a runQuickCheckProps function.

 In http://www.haskell.org/pipermail/haskell-cafe/2007-June/026493.html
 Neil Mitchell wants to get all the data/newtype declarations in a module
 in order to declare Typeable and Data instances for them.

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