[GHC] #1800: Template Haskell support for running functions defined
in the same module
GHC
trac at galois.com
Wed Oct 24 07:59:20 EDT 2007
#1800: Template Haskell support for running functions defined in the same module
------------------------------+---------------------------------------------
Reporter: simonpj | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.6.1
Severity: normal | Keywords:
Difficulty: Unknown | Os: Unknown
Testcase: | Architecture: Unknown
------------------------------+---------------------------------------------
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.
See http://www.haskell.org/pipermail/template-
haskell/2007-October/000619.html, for example.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1800>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list