[squeak-dev] #ensure: What would you expect?

Bert Freudenberg bert at freudenbergs.de
Fri Dec 2 15:41:49 UTC 2011


On 02.12.2011, at 16:34, Chris Cunnington wrote:

> Why, I couldn't say. I guess #ensure: has a property I don't understand. 

Modify "a" to make clearer what's happening:

a
	self b: [^ 1].
	^ 13r6 * 13r9 radix: 13

(this changes the answer to a more appropriate value)

- Bert -





More information about the Squeak-dev mailing list