behave as if it were an array of [0, N). So, the
&quot;taking&quot; code knows to take the original values. You will therefore see code
that looks like:</p><pre><span class="kw">val</span> v = Vec(...)
<span class="kw">val</span> ixer = ReIndexer(...)
ixer.lTake.map(x <span class="kw">=&gt;</span> v.take(x)) getOrElse v</pre></div><div class="toggleContainer block">
          <span class="toggle">Linear Supertypes</span>
          <div class="superTypes hiddenContent"><span class="extype" name="scala.AnyRef