In the dialects I am familiar with, James' answer is correct. Some dialects implement #keysAndValuesDo: on sequenceable collections, in which case, the keys are the indexes of the values.
On Tue, Jan 23, 2024, 12:05 sergio ruiz <sergio....@gmail.com> wrote: > oh! this makes sense.. > > let me try this. > > The trick is, i have used the AI system from JetBrains (in my day job > IDE).. and it has figured out a bunch of smalltalk questions i had. Even > questions about the pharo ecosystem. > > It hasn’t always been 100%, but it got me to look in the right place > quickly. > > This was the first time it came up with something that looked right (i > have seen this pattern everywhere).. but it was not correct.. > > Thanks! > > > On Jan 23, 2024, at 11:27 AM, Joachim Tuchel <jtuc...@objektfabrik.de> > wrote: > > AI knows little about Smalltalk ;-) > > > ---- > peace, > sergio > photographer, journalist, visionary > > Public Key: > https://pgp.key-server.io/pks/lookup?op=get&search=0x69B08F58923AB3A2 > #BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV > @sergio_101@mastodon.social > https://sergio101.com > http://www.codeandmusic.com > http://www.twitter.com/sergio_101 > http://www.facebook.com/sergio101 > >