[Pharo-project] [squeak-dev] Quantities and Units

Stéphane Ducasse stephane.ducasse at inria.fr
Sun Jan 8 08:09:42 EST 2012


> did you check 
> 	aconcagua ?
> 	because it is the basis for Chalten (or the inverse) and support units 
> Stef


On Jan 8, 2012, at 6:21 AM, Ben Coman wrote:

> 
> 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 Pharo-dev mailing list