j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Hi.
^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.
Yes.
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?
Andres.
squeak-dev@lists.squeakfoundation.org