title: Adding string literals support in parser
body: <p>Now I'w working on my university homework and one of the tasks is to add string literals support in my Haskell parser of dummy programming language (named &quot;Hi&quot;).</p>
  <p>I solved this task with that code:</p>
  <pre><code>parseString = do
     res &lt;- char '\&quot;' *&gt; manyTill charLiteral (char '\&quot;')
     return (HiValueString (pack res))
  </code></pre>
  <p>But I don't understand how to solve this task using <code>between</code>?
  I want to make code of this parser shorter, like:</p>
  <pre><code>parseString = do
     res &lt;- between '\&quot;' '\&quot;'
     return (HiValueString (pack res))
  </code></pre>