Hi denis

    Yes. XStream supports it:

    (1 to: 1000) reading transforming: [:in :out | | each | each := in
    get. out  put: each -1; put: each; put: each + 1]


But you probably wants different:

(1 to: 1000) reading collecting: [:each | {each -1. each. each + 1} ]

My point is can we control the next action so that we can take any collection
and turn it in a stream.

Stef

Reply via email to