HStringTemplate-0.6.10: StringTemplate implementation in Haskell.

Portabilityportable
Stabilityexperimental
Maintainers.clover@gmail.com
Safe HaskellNone

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