neat-interpolation

A quasiquoter for neat and simple multiline text interpolation

https://github.com/nikita-volkov/neat-interpolation

Version on this page:0.5.1.1
LTS Haskell 22.14:0.5.1.4
Stackage Nightly 2024-03-28:0.5.1.4
Latest on Hackage:0.5.1.4

See all snapshots neat-interpolation appears in

MIT licensed and maintained by Nikita Volkov
This version can be pinned in stack with:neat-interpolation-0.5.1.1@sha256:55f45d1737bcdf57dc9753996dd61819df335a542d8bad61b72b3700261c5b70,2991

Module documentation for 0.5.1.1

Used by 2 packages in nightly-2020-08-30(full list with versions):

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.

Changes

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.