# Passing list values to a function

**URL:** <https://forum.elixirforum.com/t/passing-list-values-to-a-function/40334>\
**Category:** Questions\
**Tags:** functional-programming, enumerables, list\
**Created:** [June 9, 2021, 5:33pm UTC](https://forum.elixirforum.com/t/passing-list-values-to-a-function/40334 "2021-06-09T17:33:26Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![grangerelixx](https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/g/f08c70/32.png) [@grangerelixx](https://forum.elixirforum.com/u/grangerelixx)\
**Post date:** [June 9, 2021, 7:27pm UTC](https://forum.elixirforum.com/t/passing-list-values-to-a-function/40334/5 "2021-06-09T19:27:22Z")

</div>

No I don’t want the side effect. Is there a way to use `Enum.each` without getting `:ok` ? `Enum.each` works perfect for my requirement except for the fact that it returns `:ok`

---

_[View the full topic](https://forum.elixirforum.com/t/passing-list-values-to-a-function/40334)._
