nyan-interpolation-0.9.2: Flexible production-scale string interpolation library
Safe HaskellSafe-Inferred
LanguageHaskell2010

Text.Interpolation.Nyan.Full

Description

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 to 0.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 of haskell-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 in haskell-src-exts or in template-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.