A quasiquoter for neat and simple multiline text interpolation

Version on this page:
LTS Haskell 22.18:
Stackage Nightly 2024-04-20:
Latest on Hackage:

See all snapshots neat-interpolation appears in

MIT licensed and maintained by Nikita Volkov
This version can be pinned in stack with:neat-interpolation-,2996

Module documentation for

A quasiquoter for producing Text values with support for a simple interpolation of input values. It removes the excessive indentation from the input and accurately manages the indentation of all lines of the interpolated variables.


Version 0.5

  • Isolated the trimming and untrimming variations of quasi-quoter.

Version 0.4

  • Changed the behaviour of the quasi-quoter in regards to trailing whitespace. Before it was always adding newline in the end, now it always completely removes all the trailing whitespace.