yn-number">2</span>))            <span class="mdzsyn-comment"># false -- semantically 3 is not &lt; 2</span></code></pre><p>In general the polymorphic operators are slower than the primitive ones, so
use the primitive ones unless you need the extra polymorphic features.
</p>
<h2 id="Implementing-Polymorphic-Comparison">Implementing Polymorphic Comparison
</h2>
<p>If you just want to use the polymorphic comparison for the built in types, you
can skip this section, which is about how to implement polymorphic 