# \#named-tuple

**URL:** https://discourse.julialang.org/tag/named-tuple/765.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Function arguments](https://discourse.julialang.org/t/function-arguments/61717)

<div class="topic-metadata">

**Author:** [@Lincoln\_Hannah](https://discourse.julialang.org/u/Lincoln_Hannah)\
**Replies:** 37\
**Last updated:** [December 20, 2024, 4:56pm UTC](https://discourse.julialang.org/t/function-arguments/61717 "2024-12-20T16:56:59Z")

</div>

Is it possible to pass a named tuple to a function and have the components available as variables without explicitly specifying them as arguments. f( X ) = A + B X = (A=1,B=2) f( X ) output : 3 Background: I have ab…

---

## [Accessing only a subset of function outputs](https://discourse.julialang.org/t/accessing-only-a-subset-of-function-outputs/91558)

<div class="topic-metadata">

**Author:** [@Atiyah](https://discourse.julialang.org/u/Atiyah)\
**Replies:** 7\
**Last updated:** [December 12, 2022, 4:49pm UTC](https://discourse.julialang.org/t/accessing-only-a-subset-of-function-outputs/91558 "2022-12-12T16:49:10Z")

</div>

suppose that there is a function with several return values function foo() ... ret1, ret2, ret3 end and suppose that a caller is interested in a particular subset of the return values and not all of them. How cou…
