Splicing in declarations
"Olivier Pernet" <[email protected]> Wed, 24 Dec 2008 02:33:56 +0100
| Newsgroups | gmane.comp.lang.haskell.template |
|---|---|
| Message-ID | <[email protected]> |
Hi all, I'm trying to generate some function declarations using TH. It seems that there is no way to use splicing inside [d| ... |] quotes... Is this true, and if it is, how do you deal with it? For now I'm only trying to generate function declarations with the given names, and also using the name string in the function body. I'll probably be on to more complex things later - I'm trying to create an embedded DSL for join calculus constructs. Olivier Pernet We are the knights who say echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlbxq'|dc