#1475: Adding imports and exports with Template Haskell
------------------------------+---------------------------------------------
Reporter: igloo | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: _|_
Component: Template Haskell | Version: 6.8.2
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown
Os: Unknown |
------------------------------+---------------------------------------------
Changes (by m4dc4p):
* version: 6.6.1 => 6.8.2
Comment:
I would love for template haskell to be able to add imports. I am using
haskelldb to write strongly-typed SQL queries. These queries depend on a
compile time representation of the database schema. That representation is
obtained by running a program which produces Haskell source describing a
given set of tables, etc. If TH could write import statements, I could
dynamically generated my modules and then import them in one go. My
queries would always be compiled against the most recent schema! It would
be a great feature to have.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1475#comment:4>
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