Re: quasiquoting and guards

Reid Barton <[email protected]> Thu, 26 Jun 2008 16:35:38 -0400
Newsgroups gmane.comp.lang.haskell.template
Message-ID <[email protected]>
On Thu, Jun 26, 2008 at 03:17:09PM -0500, Alfonso Acosta wrote:
> 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.

In fact, Matt Morrow has already published an early version of the
regexqq package on hackage, which allows one to use regular
expressions as functions String -> Maybe [String] with compile-time
checking.  We're working on adding support for regular expressions as
patterns, hence this thread.

Regards,
Reid Barton