title: Transform a string into a list of substrings describing sequences
body: <p>I am trying to split a string into a list of sequences that are substrings of this string. It's a bit hard to explain but I will give you an example so you can understand what I am looking for.</p>
  
  <p>From this string <code>"123456789"</code>, I would like to obtain a list like so:</p>
  
  <p><code>["123", "234, "345, ..., "789", "891", "912"]</code></p>
  
  <p>At the moment, I only have a function that splits a string into a list of <code>n</code> parts of this string:</p>
  
  <pre><code>splitList :: Int -&gt; [a] -&gt; [[a]]
  splitList _ [] = []
  splitList n xs = as : splitList n bs
      where (as,bs) = splitAt n xs
  </code></pre>