[Pharo-users] Re: Collection>>reduce name clash with transducers

2023-04-14 Thread Steffen Märcker
Hi Richard! Thanks for sharing your thoughts. There's a reason why #inject:into: puts the block argument last. It works better to have "heavy" constituents on the right in an English sentence, and it's easier to indent blocks when they come last. Nice, I never though of it this way.

[Pharo-users] Re: Collection>>reduce name clash with transducers

2023-04-14 Thread Richard O'Keefe
#reduce: aReduction Are you saying that aReduction is an object from which a dyadic block and an initial value can be derived? That's going to confuse the heck out of Dolphin and Pharo users (like me, for example). And in my copy of Pharo, #reduce: calls #reduceLeft:, not #foldLeft: