[racket] Numbers with dimensions

From: Konrad Hinsen (konrad.hinsen at fastmail.net)
Date: Mon Oct 28 02:54:22 EDT 2013

Laurent writes:

 > Indeed, the notion of dimension is not really what I was after. My intention was rather
 > to provide a useful unit converter.

Fair enough.

 > If my current units are in N, and I multiply by square seconds, I
 > think it's not always desirable for the measure to be automatically
 > converted to m.kg.

N/s^2 and m kg are the same unit, so there is nothing to convert. The normalized
form in the SI system is m kg, so one could consider N/s^2 an alias for it.


Posted on the users mailing list.