Closed
Description
There are two solutions available:
- implement the total ordering for
Eq
andOrd
, and offer the traditional comparison operators via intrinsics and theFloat
trait - drop the implementations of
Eq
,Ord
and traits inheriting from these likeNum
(alternate types could implement the total ordering)
Either way, it's an ugly mess. I no longer think a consensus can be reached to change the definition of the operators to using the totalOrder
predicate due to both performance concerns and the desire to have the usual semantics so that's not part of the RFC.
Metadata
Metadata
Assignees
Labels
No labels