[Template-haskell] quasiquoting and guards

Alfonso Acosta alfonso.acosta at gmail.com
Thu Jun 26 16:17:09 EDT 2008


On Wed, Jun 25, 2008 at 11:19 PM, Reid Barton <rwbarton at math.harvard.edu> wrote:

> Is there a clever workaround?  I tried (ab)using view patterns, but
> they're not yet supported by Template Haskell.

I just created a ticket requesting it:
http://hackage.haskell.org/trac/ghc/ticket/2399

I really hope you get the rx quasiquoter to work and make it public.
It would allow to ensure that all regular expressions used are
syntactically correct at compile time, which would certianly be cool.


More information about the template-haskell mailing list