HStringTemplate-0.8.3: StringTemplate implementation in Haskell.

Copyright(c) Sterling Clover 2009
LicenseBSD 3 Clause
Maintainers.clover@gmail.com
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell98

Text.StringTemplate.QQ

Description

This module provides stmp, a quasi-quoter for StringTemplate expressions. Quoted templates are guaranteed syntactically well-formed at compile time, and antiquotation (of identifiers only) is provided by backticks. Usage: let var = [0,1,2] in toString [$stmp|($`var`; separator = ', '$)|] === "(0, 1, 2)"

Documentation