 class="prevnext-text">Macros</span></a></span>
        </div>
        

<p>A very common and essential operation in all programming is looping. Most
languages support looping of some kind, either with explicit loops or recursion.
Janet supports both recursion and a primitive <code class="mendoza-code">while</code> loop. While recursion
is useful in many cases, sometimes it is more convenient to use an explicit loop
to iterate over a collection like an array.
</p>
<h2>Example 1: Iterating a range
</h2>
<p>S