# Unpacking a named tuple using field names and slurping?

**URL:** https://discourse.julialang.org/t/unpacking-a-named-tuple-using-field-names-and-slurping/100035
**Category:** General Usage
**Created:** [June 8, 2023, 4:31am UTC](https://discourse.julialang.org/t/unpacking-a-named-tuple-using-field-names-and-slurping/100035 "2023-06-08T04:31:41Z")
**Posts on this page:** 1
**Showing post:** 14

<div class="post-metadata">

### Author: ![GunnarFarneback](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gunnarfarneback/32/1827_2.png) [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)
#### Post date: [June 10, 2023, 6:32am UTC](https://discourse.julialang.org/t/unpacking-a-named-tuple-using-field-names-and-slurping/100035/14 "2023-06-10T06:32:28Z")

</div>

Print what you have left in `r` after each line there and it should be clear why you can’t extract the `y` field (or any other field) a second time.

---

_[View the full topic](https://discourse.julialang.org/t/unpacking-a-named-tuple-using-field-names-and-slurping/100035)._
