Numeric supplies an interface for classes that act like numbers, and a Measurable fits this model. Coercion of [a, b] would require converting b to the same units of a.
This will also allow us to drop the Comparable portion of Measurable since Numeric gives us that for free.
Numeric
supplies an interface for classes that act like numbers, and aMeasurable
fits this model. Coercion of[a, b]
would require convertingb
to the same units ofa
.This will also allow us to drop the
Comparable
portion ofMeasurable
sinceNumeric
gives us that for free.