title: Making a partial array in Perl6
body: <p>Is there a nice way to get a partial Array derived from another Array?</p>
  
  <p>Example: given an array with x number of elements, and an <code>Int $index</code> within the range of elements of that Array, I would like to run a function from <code>$index + 1</code> to number of elements - 1.</p>
  
  <p>Essentially I would like to compare all elements within the Array. Compare being a function of the element itself. (Note I am aware of the function <code>eqv</code>, though this is not suitable for this particular situation)</p>
  
  <p>I was thinking of something in the likes of:</p>
  
  <pre><code>for $!my-array.kv -&gt; $index, $element
  {
      for $!my-array[$index+1 .. .elems-1] -&gt; $another-element
      {
          $element.compare($another-element)
      }
  }
  </code></pre>