How do you mean?

(1 to: 10) select: #odd thenCollect: [ :x | x ** 2 ] "-> #(1 9 25 49 81)"

It wouldn't make sense otherwise to have the collect method if it wouldn't return anything.

Peter

On Thu, Jun 7, 2018 at 2:20 PM, Tim Mackinnon <tim@testit.works> wrote:
Hi - are the methods like #select:thenCollect: frowned upon?

They seem quite readable , however in using them I���ve noticed that unlike the core methods they done return the result of evaluation (they are missing a ^). This is a shame, but possibly an oversight?

Tim

Sent from my iPhone