[Pharo-users] Comparison of blocks

2023-04-12 Thread Steffen Märcker
Hi! In VisualWorks, blocks can be compared with each other. In Pharo the comparison just checks for Identity. Is this on purpose? For reference, that's how BlockClosure>>= is implemented in VW: = aBlockClosure ^aBlockClosure class = self class and: [method = aBlockClosure metho

[Pharo-users] Re: [vwnc] Block evaluation with n+1 arguments

2023-04-12 Thread Steffen Märcker
Dear Richard, thanks for elaborating on your ideas. As I am still figuring out what works best, I'll give them a try. Especially the approach to let the source deal with passing the arguments to the block - though this requires more changes. The problem is NOT, as some commentators apparently

[Pharo-users] Re: Porting from VW to Pharo

2023-04-12 Thread Christian Haider
Hi Steffen, thanks for trying and asking! I was loading the code needed into a 8.3, 64bit virgin image and realized that loading is not that straight forward and described too briefly. First, you need a non-default setting for the store prerequisites. I added this to the store access pag

[Pharo-users] Collection>>reduce naming

2023-04-12 Thread Steffen Märcker
Hi! I wonder whether there was a specific reason to name this method #reduce:? I would have expected #fold: as this is the more common term for what it does. And in fact, even the comment reads "Fold the result of the receiver into aBlock." Whereas #reduce: is the common term for what we call wit

[Pharo-users] Re: [vwnc] Block evaluation with n+1 arguments

2023-04-12 Thread Richard O'Keefe
You say - The source object returns multiple values as a tuple (for good reasons). - The block processes theses values but needs another argument (at the first place). On the first point, we have to take your word for it. It's not clear why you could not pass an n+1-element array to the source m

[Pharo-users] Fwd: [Esug-list] [IWST 2023]Call for Papers

2023-04-12 Thread stephane ducasse
> Begin forwarded message: > > From: Gocrdana Rakic via Esug-list > Subject: [Esug-list] [IWST 2023]Call for Papers > Date: 11 April 2023 at 19:40:35 CEST > To: esug-l...@lists.esug.org > Reply-To: Gocrdana Rakic > > Call For Papers > IWST 2023: International Workshop on Smalltalk Technologie