 class="mdzsyn-coresym">table/to-struct</span> <span class="mdzsyn-symbol">accum</span>))</code></pre><h2>Using structs as keys
</h2>
<p>Because a struct is equal to any struct with the same contents, structs make
useful keys for tables or other structs. For example, we can use structs to
represent Cartesian points and keep a mapping from points to other values.
</p>
<pre class="mendoza-codeblock"><code data-language="janet">(<span class="mdzsyn-coresym">def</span> <span class="mdzsyn-symbol">points</span> 