|
From: | Paolo Bonzini |
Subject: | Re: [Help-smalltalk] SequenceableCollection new |
Date: | Wed, 06 Apr 2011 14:22:44 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7 |
On 04/06/2011 02:04 PM, Gwenael Casaccio wrote:
Collection>>size [ | count | count := 0. self do: [:element | count := count + 1]. ^count ]
I'll just add "size [ ^0 ]". Thanks for the report. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |