[Template-haskell] quasiquoting and guards

Reid Barton rwbarton at math.harvard.edu
Thu Jun 26 16:35:38 EDT 2008


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


More information about the template-haskell mailing list