ic sugar, allow '-&gt;' to generate an (inclusive) index slice</p><div class="fullcomment"><div class="comment cmt"><p>Syntactic sugar, allow '-&gt;' to generate an (inclusive) index slice</p><pre><span class="kw">val</span> v = Vec(<span class="num">1</span>,<span class="num">2</span>,<span class="num">3</span>,<span class="num">4</span>)
<span class="kw">val</span> u = v(<span class="num">0</span> -&gt; <span class="num">2</span>)</pre></div></div>
    </li><li name="org.saddle#pair2SliceFrom" visbl="pub"