HStringTemplate-0.6.4: StringTemplate implementation in Haskell.Source codeContentsIndex
Text.StringTemplate.QQ
Portabilityportable
Stabilityexperimental
Maintainers.clover@gmail.com
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
stmp :: QuasiQuoterSource
Produced by Haddock version 2.6.1