[Haskell-cafe] ANNOUNCE: antiquoter-0.1.0.0
aspergesoepje at gmail.com
Wed Apr 3 22:46:00 CEST 2013
I'm happy to announce the release of my first package antiquoter , a
combinator library for writing quasiquoters and antiquoters. The main aim
is to simplify their definitions and reduce copy-and-paste programming.
The main feature the current version is trying to solve is code duplication
in antiquoters. The problem for writing antiquoters is that it need to be
done twice, once for use as an expression and once for use as a pattern.
These two implementations are very similar, which leads to copy-and-paste
programming. For a good example of what this leads to see the antiquoters
of language-c-quote, where almost every antiquoter is written twice. A
very simple example with the rewritten version is provided in the
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe