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} ]