Let\'s say I have this string literal with line breaks:
file :: String file = \"the first line\\nthe second line\\nthe third line\"
Is there an
Quasiquotation examplete presented in Multi-line strings in Haskell.
{-# LANGUAGE QuasiQuotes #-} import Text.RawString.QQ multiline :: String multiline = [r| Auto-generated html formated source |]
|]
raw-strings-qq is my favorite for the purpose yet.