antiquoter

Combinator library for quasi- and anti-quoting.

Latest on Hackage:0.1.1.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed by Lars Corbijn
Maintained by [email protected]

A combinator library to improve the building of anti-quoters. Especially aimed at removing copy-and-paste programming from their definition. Other antiquoting related features could be included in the future.

The modules are

  • Language.Haskell.AntiQuoter.Base basic types for building antiquoters. It also contains the most detailed example of the basic usage.

  • Language.Haskell.AntiQuoter.ExpPat making antiquoters which can antiquote both expressions and patters. Therefore only one antiquoter has to be defined in stead of two.

  • Language.Haskell.AntiQuoter.Combinators more useful combinators to use with the functions from Language.Haskell.AntiQuoter.ExpPat.