nikita-volkov / neat-interpolation

A quasiquoter for neat and simple multiline text interpolation
http://hackage.haskell.org/package/neat-interpolation
MIT License
55 stars 16 forks source link

string function always inserts a newline #4

Closed proger closed 4 years ago

proger commented 9 years ago

Hello,

λ> [string|hello|]
"hello\n"

Is it possible to control this behaviour?

nikita-volkov commented 9 years ago

Of course, it's possible. Can you please make a pull-request? I'm currently swamped.

nikita-volkov commented 4 years ago

Fixed in 0.4 and 0.5. Starting from 0.5 the trimming quasi-quoter removes all leading and trailing whitespace.

proger commented 4 years ago

Thank you!