[squeak-dev] Quantities and Units

Ben Coman btc at openInWorld.com
Sun Jan 8 05:21:06 UTC 2012

I am implementing a model defined with quantity data having {value, 
multiplier, unit} where
multiplier is  m, c, k, M, etc
unit is V, A, Hz, W, etc

So I am looking for what quantities/units packages are around before 
trying to write my own.

I have downloaded [1] and had a poke around there with the tests.  Are 
there any further examples around of how to use it and to define new 
units?  I notice that Voltage=Joules/Columb is not defined.

Is anyone have any familiar with ports of packages mentioned here [2] 
[3] [4] from other platforms?

cheers, Ben

[1] http://www.squeaksource.com/Units.html
[2] http://www.cincomsmalltalk.com/publicRepository/Quantities.html
[3] http://www.smalltalking.net/goodies/Dolphin/ (scroll to bottom)
[4] http://comments.gmane.org/gmane.comp.lang.smalltalk.squeak.general/55894

More information about the Squeak-dev mailing list