[Pharo-dev] Re: About Bag API

2022-10-23 Thread stephane ducasse
uca...@inria.fr>> > > À: "Pharo Development List" > <mailto:pharo-dev@lists.pharo.org>> > > Envoyé: Dimanche 23 Octobre 2022 09:27:45 > > Objet: [Pharo-dev] Re: About Bag API > > > it is because at: is in fact occurrencesOf: > > > >

[Pharo-dev] Re: About Bag API

2022-10-23 Thread Clément Dutriez
should > return how many occurrences $a has > > Sebastian > > - Mail original - > > De: "Stephane Ducasse" > > À: "Pharo Development List" > > Envoyé: Dimanche 23 Octobre 2022 09:27:45 > > Objet: [Pharo-dev] Re: About Bag API >

[Pharo-dev] Re: About Bag API

2022-10-23 Thread Sebastian Jordan Montano
ot; > Envoyé: Dimanche 23 Octobre 2022 09:27:45 > Objet: [Pharo-dev] Re: About Bag API > it is because at: is in fact occurrencesOf: > > S > >> On 23 Oct 2022, at 11:26, stephane ducasse wrote: >> >> Hi >> >> I wonder why I cannot get valu

[Pharo-dev] Re: About Bag API

2022-10-23 Thread Stéphane Ducasse
it is because at: is in fact occurrencesOf: S > On 23 Oct 2022, at 11:26, stephane ducasse wrote: > > Hi > > I wonder why I cannot get values of a entry using at: > > | aBag | > aBag := Bag new. > aBag addAll: ‘aabbbacaccca’. > aBag at: $a 5 > > I have the impression that this is bec