[Template-haskell] Custom patternmatching for ADTs and Emulating TH Pattern splicing (was quasiquoting and guards)

Marc Weber marco-oweber at gmx.de
Thu Jun 26 17:58:08 EDT 2008


On Thu, Jun 26, 2008 at 02:35:41PM -0500, Alfonso Acosta wrote:
> On Wed, Jun 25, 2008 at 11:19 PM, Reid Barton <rwbarton at math.harvard.edu> wrote:
> > Hi all,
> >
> > I'd like to use quasiquotation to emulate bash's case statement in
> > Haskell.
If you haven't seen harp yet take a look at it. It's a preprocessor but
it might be exactly what you're looking for?
http://www.cs.chalmers.se/~d00nibro/harp/

Sincerly
Marc


More information about the template-haskell mailing list