#7016: Declarations after top-level splice are ignored
----------------------------------------+-----------------------------------
Reporter: Oblosys | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Template Haskell | Version: 7.4.2
Resolution: invalid | Keywords:
Os: MacOS X | Architecture: x86_64 (amd64)
Failure: GHC rejects valid program | Difficulty: Unknown
Testcase: | Blockedby:
Blocking: | Related:
----------------------------------------+-----------------------------------
Changes (by simonpj):
* status: new => closed
* difficulty: => Unknown
* resolution: => invalid
Comment:
This is by design, as described in Section 7.2 of the original
[http://research.microsoft.com/en-us/um/people/simonpj/papers/meta-haskell
/meta-haskell.pdf Template Haskell paper].
I agree it's not ideal, but it's not accidental, and I don't know of a
better way.
Hmm. It may be that some of the changes mooted in my
[http://hackage.haskell.org/trac/ghc/blog/Template%20Haskell%20Proposal
New directions for Template Haskell] post (which I plan to work in on
August) may change this.
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7016#comment:1>
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