Template Haskell support for running functions defined in the same module
|Reported by:||simonpj||Owned by:|
|Keywords:||Cc:||alfonso.acosta@…, Deewiant, reiner.pope@…, eir@…, hackage.haskell.org@…|
|Type of failure:||None/Unknown||Test Case:|
|Related Tickets:||Differential Revisions:|
Currently TH has the following restriction:
You can only run a function at compile time if it is imported from another module. That is, you can't define a function in a module, and call it from within a splice in the same module.
This is a pain. It should be fixed.
Change History (12)
comment:1 follow-up: ↓ 4 Changed 8 years ago by simonpj
- Component changed from Compiler to Template Haskell
- Milestone set to _|_