Re: quasiquoting and guards

"Alfonso Acosta" <[email protected]> Thu, 26 Jun 2008 15:17:09 -0500
Newsgroups gmane.comp.lang.haskell.template
Message-ID <[email protected]>
On Wed, Jun 25, 2008 at 11:19 PM, Reid Barton <[email protected]> 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.