# Evaluate multi-variable anonymous function for one variable

**URL:** <https://discourse.julialang.org/t/evaluate-multi-variable-anonymous-function-for-one-variable/11397>\
**Category:** General Usage\
**Created:** [June 3, 2018, 8:35pm UTC](https://discourse.julialang.org/t/evaluate-multi-variable-anonymous-function-for-one-variable/11397 "2018-06-03T20:35:32Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![mauro3](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mauro3/32/292_2.png) [@mauro3](https://discourse.julialang.org/u/mauro3)\
**Post date:** [June 4, 2018, 5:25am UTC](https://discourse.julialang.org/t/evaluate-multi-variable-anonymous-function-for-one-variable/11397/4 "2018-06-04T05:25:30Z")

</div>

I don’t really understand what you want. Maybe you need to combine above with an `if` and generate a different closure depending on what inputs you got? Send a code snippet of what you got (please quote you code: [PSA: how to quote code with backticks](https://discourse.julialang.org/t/psa-how-to-quote-code-with-backticks/7530)).

---

_[View the full topic](https://discourse.julialang.org/t/evaluate-multi-variable-anonymous-function-for-one-variable/11397)._
