.
</p>
<p>There is a common macro <code class="mendoza-code">defn</code> that can be used for creating functions and
immediately binding them to a name. <code class="mendoza-code">defn</code> works as expected at both the
top level and inside another form. There is also the corresponding macro
<code class="mendoza-code">defmacro</code> that does the same kind of wrapping for macros.
</p>
<pre class="mendoza-codeblock"><code data-language="janet">(<span class="mdzsyn-coresym">defn</span> <span class="mdzsyn-