title: How do you take a slice of a list in OCaml/ReasonML?
body: <p>For example in Ruby you could do something like:</p>
  
  <pre><code>list = ["foo", "bar", "baz", "qux", "quux", "corge"]
  result = list[2..4]
  </code></pre>
  
  <p>And <code>result</code> would contain <code>["baz", "qux", "quux"]</code>.</p>
  
  <p>How would you do this in OCaml/ReasonML?</p>