lift package:numeric-prelude

apply a function to the numeric value while preserving the unit
Lift compare implementation from a wrapped object.