|
Software
»
Haskell
»
Haskell - template-haskell
Splicing inside declaration?
View:
Threaded
Chronologically
All Messages
New views
1 Messages —
Rating Filter:
0
1
2
3
4
5
Alert me
Splicing inside declaration?
by pweaver
:: Rate this Message:
Reply to Author
|
View Threaded
|
Show Only this Message
It seems like there is no support for something like the following, in which a splice occurs within a quasi-quoted declaration:
foo x = [d| $x = 1 |]
Is there planned support for this?
I really want to be able to use this to generate code, and it is so much easier than manually working with the abstract syntax (Exp, Dec, etc...).
Thanks!
- Phil
LightInTheBox
- Buy quality products at
wholesale
price
Free Forum
Powered by Nabble
Forum Help