|Anonymous | Login||03-07-2021 09:02 UTC|
|Main | My View | View Issues | Change Log | Docs|
|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|
|Summary||0007647: [RFE] A method #times to convert an integer into an interval from one to the integer. E.G. 3 times collect: [etc.]|
Squeak is a great rapid prototyping tool.
Integers know timesRepeat: [no argument valuable block].
But there is no equivalent for timesCollect: etc.
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
|There are no notes attached to this issue.|
| Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
27 total queries executed.|
24 unique queries executed.