Template Haskell is an extension to
that allows you to do type-safe compile-time meta-programming, with Haskell both as the manipulating language and the language being manipulated.
16 February 2010. Available through
It is included in the
Template Haskell is a dangerous tool; it can generate unexpected side-effects even at complication time. It can also be used to break the encapsulation offered by module boundaries, to gain access to protected type constructors and thus to break the module's invariants, causing previously safe code to fail. For these reasons, Template Haskell is disabled in
View edit of
November 14, 2013
with title or text search