nyan-interpolation-0.9: Flexible production-scale string interpolation library
Safe HaskellNone
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).