Accessing module imports in TH

Robin Bate Boerop <[email protected]> Sun, 11 Dec 2005 14:10:26 -0400
Newsgroups gmane.comp.lang.haskell.template
Message-ID <[email protected]>
Is there a way to determine within Template Haskell code at compile  
time whether the module being compiled imports particular functions?   
Also, is there a way to obtain a list of function names exported by  
the module being compiled?

-- 
Robin Bate Boerop
http://robin.bateboerop.name