Hacker News new | ask | show | jobs
by Dylan16807 2443 days ago
How does that prevent you from accidentally making a.compare(b) and b.compare(a) inconsistent on some values?

Making sure you can compare the types is already happening in the compiler, and doesn't find the bug.