Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0007647 [Squeak] Kernel minor N/A 06-13-11 05:08 06-13-11 05:08
Reporter wiz View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version
Summary 0007647: [RFE] A method #times to convert an integer into an interval from one to the integer. E.G. 3 times collect: [etc.]
Description Squeak is a great rapid prototyping tool.

Integers know timesRepeat: [no argument valuable block].

But there is no equivalent for timesCollect: etc.

Additional Information I have been using the simple method:

"Return an interval from 1 to the receiver"
^ 1 to: self

to make life easy.

There is a great convenience in having a no argument method to create an interval.

In prototyping small intervals can be tried and then as things start working larger test can be made just by increasing the integer used as the receiver.

Squeak should be easy. Programmers should be lazy.

Yours in curiosity, service and lazyiness --Jerome Peace
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
06-13-11 05:08 wiz New Issue

Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
27 total queries executed.
24 unique queries executed.
Powered by Mantis Bugtracker