Avoiding linking final executable to TH
Einar Karttunen <[email protected]> Mon, 04 Jul 2005 11:47:55 +0300
| Newsgroups | gmane.comp.lang.haskell.template |
|---|---|
| Message-ID | <[email protected]> |
Hello Are there currently any plans to avoid linking the final executable with TH? As far as I understand currently the situation is as follows: Module M uses TH code defined in MTH. Module MTH imports TH modules and thus needs to be linked with template-haskell. The simplest way to deal with this could be to use a special compile-time import construct between M and MTH - so that MTH would not need to be linked with M (and thus template-haskell would not be needed either). Are there any plans regarding something like this or an another solution? - Einar Karttunen