[ENH] on:collect:
Lex Spoon
lex at cc.gatech.edu
Thu Jun 8 14:33:10 UTC 2000
"Francisco Garau" <fgarau at hotpop.com> wrote:
> To obtain a string with all the vowels from an array that contains the ascii
> value of each character, evaluate
> String on: #( 97 101 105 111 117) collect: [:each | each asCharacter]
>
withAll:collect: be natural, because it would just be removing
parentheses from the following:
> String withAll: ( #( 97 101 105 111 117) collect: [:each | each asCharacter])
Do you code this kind of thing a lot?
-Lex
More information about the Squeak-dev
mailing list
|