# How To Do A For Loop In Elixir (using only recursion)

**URL:** <https://forum.elixirforum.com/t/how-to-do-a-for-loop-in-elixir-using-only-recursion/595>\
**Category:** Discussions\
**Tags:** recursion, code-snippets\
**Created:** [May 13, 2016, 1:18pm UTC](https://forum.elixirforum.com/t/how-to-do-a-for-loop-in-elixir-using-only-recursion/595 "2016-05-13T13:18:56Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Onor.io](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/onor.io/32/960_2.png) [@Onor.io](https://forum.elixirforum.com/u/Onor.io)\
**Post date:** [May 13, 2016, 7:13pm UTC](https://forum.elixirforum.com/t/how-to-do-a-for-loop-in-elixir-using-only-recursion/595/8 "2016-05-13T19:13:44Z")

</div>

Please share a good example of recursion so I can see how best to go back and edit my example to make it clearer.

---

_[View the full topic](https://forum.elixirforum.com/t/how-to-do-a-for-loop-in-elixir-using-only-recursion/595)._
