NthPortal/v

Clarify specification of object-equality Ordering

Closed this issue · 0 comments

Clarify specification of object-equality Ordering for SemVer such that:

  • it is identical to the default Ordering for SemVer instances with different precedence according to the SemVer specification
  • for SemVer instances with the same precedence according to the SemVer specification, the Ordering is only specified insofar as that two instances that are equal yield zero when compared, and two instances that are not equal yield a non-zero value when compared. the result of comparison is not otherwise specified, and may change between JVM/platform runs or between arbitrary library releases.