title: Embedding long strings inline without using lists
body: <p>For several projects I need to embed long strings into Haskell source code.</p>
  
  <p>The obvious way to do this is to <code>unlines</code> a list of lines. However, reading and maintaining this is cumbersome.</p>
  
  <pre class="lang-haskell prettyprint-override"><code>cCode :: String
  cCode = unlines [
            "int main(int argc*, char** argv)",
            "  doStuff();",
            "}"]
  </code></pre>
  
  <p>Is there any way you can embed strings without any overhead (like the list as shown above) or even files? Is TemplateHaskell/Quasi-quotation the way to go here?</p>
  
  <p><strong>Note:</strong> This question was answered in Q&amp;A form. Therefore it does not show any research effort.</p>