You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If <=> returns nil for invalid comparison, we can reuse the standard Comparable module, which has been available since at least 1.9.3. Any use case for that? I think most people would just use other derived operators, instead of directly use <=>.
The text was updated successfully, but these errors were encountered:
Removes the custom Comparable implementation and changes internal
<=> implementations to return nil when the two objects cannot be
compared to satisfy the standard Comparable interface.
Resolves#39
If
<=>
returns nil for invalid comparison, we can reuse the standardComparable
module, which has been available since at least 1.9.3. Any use case for that? I think most people would just use other derived operators, instead of directly use<=>
.The text was updated successfully, but these errors were encountered: