du/pub/techreports/TR206.pdf">Kohlbecker et al.'s 1986 paper</a> - instead, programmer diligence is required to avoid accidental captures.
</p>
<p>Janet provides a general solution to this problem in terms of the
<code class="mendoza-code">(gensym)</code> function, which returns a symbol which is guaranteed to be
unique and not collide with any symbols defined previously. We can define our
macro once more for a fully correct macro.
</p>
<pre class="mendoza-codeblock"><code data-language="janet">(<span class