title: Get a sublist  in Haskell
body: <p>Probably an easy one, but I've looked through the docs and googled for examples and I'm still not sure of the answer.</p>
  
  <p>If I have a list like this:</p>
  
  <pre><code>[1,2,3,4,5,6,7,8,9,0]
  </code></pre>
  
  <p>and I want to extract a slice, say from index 4 to index 8 i.e. I want:</p>
  
  <pre><code>[5,6,7,8,9]
  </code></pre>
  
  <p>What is the idiomatic way to do this in Haskell?</p>