# Custom tuple unpacking

**URL:** <https://discourse.julialang.org/t/custom-tuple-unpacking/27224>\
**Category:** Internals & Design\
**Tags:** tuple\
**Created:** [August 6, 2019, 3:20pm UTC](https://discourse.julialang.org/t/custom-tuple-unpacking/27224 "2019-08-06T15:20:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![manuelma](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/manuelma/32/19005_2.png) [@manuelma](https://discourse.julialang.org/u/manuelma)\
**Post date:** [August 6, 2019, 3:20pm UTC](https://discourse.julialang.org/t/custom-tuple-unpacking/27224/1 "2019-08-06T15:20:18Z")

</div>

I would like to be able to write something like

```julia
x, y, z = collect(I)

```

and then have `z == collect(I)[3:end]`. In other words, I’d like to unpack the entire ‘tail’ of `I` into the last value on the left hand side.

I don’t know if this makes any sense?

---

<div class="post-metadata">

**Author:** ![rdeits](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rdeits/32/286_2.png) [@rdeits](https://discourse.julialang.org/u/rdeits)\
**Post date:** [August 6, 2019, 3:30pm UTC](https://discourse.julialang.org/t/custom-tuple-unpacking/27224/2 "2019-08-06T15:30:02Z")

</div>

It looks like this is something that’s been discussed for a while but not yet implemented: [https://github.com/JuliaLang/julia/issues/2626](https://github.com/JuliaLang/julia/issues/2626)
