first-class support for documentation through the use of docstrings.
</p>
<h2 id="Detecting-Docstrings">Detecting Docstrings
</h2>
<p>A docstring is a string that Janet associates with a particular binding in an
environment. Janet detects docstrings by looking at the elements in the binding,
if a string is located at a particular position, it is used as the docstring.
</p>
<pre class="mendoza-codeblock"><code data-language="janet">(<span class="mdzsyn-coresym">defn</span> <span class="mdzsyn-symbol">my-func