[squeak-dev] Units package

cdrick cdrick65 at gmail.com
Thu Jun 19 13:26:47 UTC 2008


Hi

>
> u :=  (14 units: #feet) + (10 units: #meters).

same for me, if just evaluate this line twice... the parser use the
hash value...
a hash value has to be defined for Unit

I added in UnitValue (comparing):

hash

	^value hash

and it seems to work... Units tests pass

hth

Cédrick


More information about the Squeak-dev mailing list