Safe Haskell | None |
---|---|
Language | Haskell98 |
Data.String.Here.Interpolated
Description
Interpolated here docs
Documentation
Quote a here doc with embedded antiquoted expressions
Any expression occurring between ${
and }
(for which the type must have
Show
and Typeable
instances) will be interpolated into the quoted
string.
Characters preceded by a backslash are treated literally. This enables the
inclusion of the literal substring ${
within your quoted text by writing
it as \${
. The literal sequence \${
may be written as \\${
.