31 Dec
2010
31 Dec
'10
11:06 p.m.
On Fri, Dec 31, 2010 at 5:31 AM, Aur Saraf <sonoflilit@gmail.com> wrote:
Is it really impossible to just use the plaintext as code in Template Haskell? It would really be nice if you could use any bit of Haskell wherever you can use a variable (but it's just nice-to-have, not worth playing with GHC's code just to get it).
It was until someone else wrote a library for us =) [1]. We just need to unpack the QuasiQuoter data type and use it inside Hamlet's quasiquoter. [1] http://hackage.haskell.org/package/haskell-src-exts-qq Michael, were you aware of this library? Cheers, -- Felipe.