Two questions

sqrmax at sqrmax at
Sat Jun 27 19:51:55 UTC 1998


>>^self class new: value + (self negated and: aProbability negated) value
>I assume that the class this method is in implements an "and:" message, 
>which is what you are trying to use in the code above.


>If this is the case, then you will have to choose a different names for 
>your operations than "and:" and "or:".

Oh, boy... probabilities look so ugly without them...  anyway, I chose 
andWith:, orWith: and so. Do you know of any nicer selectors?


More information about the Squeak-dev mailing list