|
using collect on a ReadStream: msg#00089lang.smalltalk.squeak.beginners
Hi, I get a ReadStream from some part of a program which is created this way stream := (ReadStream on: #( #(#a #b) #(#b #c))) I like to use collect: on that stream: stream collect: [:each| 'k',each first] Is there a possibility to specify the resulting collection produced by collect. The problem here is the species call with an add: call afterwards which is not appropriate (the debugger said :) ) thanks, Norbert
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Concrete classes... multiple users, John Almberg |
|---|---|
| Next by Date: | Re: using collect on a ReadStream, Oscar Nierstrasz |
| Previous by Thread: | Concrete classes... multiple users, John Almberg |
| Next by Thread: | Re: using collect on a ReadStream, Oscar Nierstrasz |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |