interpolatedstring-qq-0.2: QuasiQuoter for Ruby-style multi-line interpolated strings.

Text.InterpolatedString.QQ

Description

QuasiQuoter for interpolated strings using Ruby syntax. Expressions inside #{} will have show called. Multi-line strings are supported. Escaping of '#' and '{' is done with backslash.

 v :: String
 v = [$istr| well #{"hello" ++ " there"} #{6*7}]

v will have the value " well hello there 42"

Synopsis

Documentation

istr :: QuasiQuoterSource

QuasiQuoter for interpolating Haskell values into a string literal. The pattern portion is undefined.