help!!

Mike Klein mike at twinsun.com
Wed Apr 15 02:48:17 UTC 1998


I wrote: (too quickly)

> hash
> 	^self size
> 	

How about: (in Set)

hash
	^self inject: 0 into: [:answer :each | answer bitXor: each hash]
	


Yeah, I like that better.

-- Mike Klein





More information about the Squeak-dev mailing list