[GHC] #7867: Allow template-haskell to communicate with itself between compilation units through the interface file

GHC cvs-ghc at haskell.org
Mon Apr 29 15:13:36 CEST 2013


#7867: Allow template-haskell to communicate with itself between compilation units
through the interface file
---------------------------------+------------------------------------------
    Reporter:  errge             |       Owner:                  
        Type:  feature request   |      Status:  new             
    Priority:  normal            |   Milestone:                  
   Component:  Template Haskell  |     Version:  7.6.3           
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------
Changes (by simonpj):

 * cc: batterseapower (added)
  * difficulty:  => Unknown


Comment:

 [http://www.haskell.org/ghc/docs/latest/html/users_guide/extending-
 ghc.html#annotation-pragmas Annotations] might do the job.  I'm not sure
 wether TH gives you enough hooks to interact with annotations (Max would
 know), but they are properly persisted across interface files.

 Simon

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



More information about the ghc-tickets mailing list