'[ENH]' repeat: 2

Randal L. Schwartz merlyn at stonehenge.com
Thu Sep 7 13:05:43 UTC 2000


>>>>> "Mats" == Mats Nygren <nygren at sics.se> writes:

Mats> Hi,
Mats> A sometimes useful method, second version

Mats> 	s := WriteStream on: (self class new: anInteger * self size).

I thought about this solution.  Not too be too pedantic,
but shouldn't that be "self species" rather than "self class"?
For the classes that implement #species, it would make a difference.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!





More information about the Squeak-dev mailing list