
#11078: Access to module renaming with reifyModule, in TemplateHaskell -------------------------------------+------------------------------------- Reporter: cipher1024 | Owner: Type: feature request | Status: new Priority: normal | Milestone: 8.0.1 Component: Template Haskell | Version: 7.10.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by cipher1024): Yes, I believe that would do the trick nicely. Instead of a Maybe String, you could have a String stand for the synonym. Whenever the import is not renamed, it would hold the exact name of the imported module. After thinking some more about your proposal, I'm really liking the list of names. That should simplify my design significantly. How hard do you think it will be to implement? Thanks! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11078#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler