Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hernanmd/progressbar-installer
https://github.com/hernanmd/progressbar-installer
iterators pharo pharo-smalltalk
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/hernanmd/progressbar-installer
- Owner: hernanmd
- License: mit
- Created: 2021-02-22T19:33:57.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-22T19:40:13.000Z (almost 4 years ago)
- Last Synced: 2024-10-31T06:24:53.429Z (about 2 months ago)
- Topics: iterators, pharo, pharo-smalltalk
- Language: Smalltalk
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Description
Automatically add progress bar to iterator sends in client classes. This utility is provided to have feedback from the system without the need to change your 20 iterators in a group of client classes where you need to see progress on evaluation.
For example doing:
```smalltalk
SmalltalkImage setDisplayProgressTo: MyClass.
SmalltalkImage setDisplayProgressTo: MyPackage.
```and then having all enumeration messages sent in MyClass or MyPackage with a progress bar. These iterators could be mapped:
```
collect:
collect:as:
collect:into:
collect:thenDo:
select:
select:as:
select:thenDo:
select:thenCollect:as:
```See http://forum.world.st/displayingProgress-on-demand-td4865623.html for details
## Usage
```smalltalk
ProgressBarInstaller installOnMethod: SequenceableCollection >> #tokenizeWithoutStopwords.
```