Have you seen Nim&#x27;s concepts? [1] They sound similar to what you&#x27;re describing.<p>The semantics are slightly different from Python. &#x27;a[x .. ^1]&#x27; means &#x27;The items of a from x to the last element&#x27;