Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Contains full-fledged interpolator.
Synopsis
Documentation
fullHaskellValueInterpolator :: ValueInterpolator Source #
Interpolates strings containing arbitrary Haskell expressions.
This is used in the interpolator provided by Text.Interpolation.Nyan module.
Known issues:
- If
haskell-src-meta
prior to0.8.9
version is used, a default set of extensions for the given Haskell dialect (e.g. Haskell2010) is used for the interpolated values. With the modern version ofhaskell-src-meta
, we do our best to be trasparent and pick the extensions enabled in the module where interpolator is called (some rare extensions may still be unsupported since they are not represented inhaskell-src-exts
or intemplate-haskell
packages). - Some very modern extensions might be not allowed; if you face such issue,
try using the most recent version of
haskell-src-meta
.