<div dir="ltr"><div>Hi Christoph,</div><div>I presume that Jakob is just suggesting using (at: key put: value) rather than (add: key -> value).<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le dim. 17 nov. 2019 à 17:36, Thiede, Christoph <<a href="mailto:Christoph.Thiede@student.hpi.uni-potsdam.de">Christoph.Thiede@student.hpi.uni-potsdam.de</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div>

<div id="gmail-m_5963684675944656004divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p>Thank you for the review! This was actually intended, or what would expect the following to do?</p>
<p><br>
</p>
<p><span style="color:rgb(33,33,33);font-family:wf_segoe-ui_normal,"Segoe UI","Segoe WP",Tahoma,Arial,sans-serif,serif,EmojiFont;font-size:15px">Dictionary fromKeys: 'wasda' values: '84265'</span><br>
</p>
<div id="gmail-m_5963684675944656004Signature">
<div name="divtagdefaultwrapper">
<div><font size="2" color="#808080"></font></div>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_5963684675944656004divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>Von:</b> Squeak-dev <<a href="mailto:squeak-dev-bounces@lists.squeakfoundation.org" target="_blank">squeak-dev-bounces@lists.squeakfoundation.org</a>> im Auftrag von Jakob Reschke <<a href="mailto:forums.jakob@resfarm.de" target="_blank">forums.jakob@resfarm.de</a>><br>
<b>Gesendet:</b> Sonntag, 17. November 2019 17:24:25<br>
<b>An:</b> <a href="mailto:squeak-dev@lists.squeakfoundation.org" target="_blank">squeak-dev@lists.squeakfoundation.org</a><br>
<b>Betreff:</b> Re: [squeak-dev] The Inbox: Collections-ct.860.mcz</font>
<div> </div>
</div>
<div>
<div dir="auto">
<div>Is there a strong indication to use add: anAssociation over at:put: here? The latter is more idiomatic and does not use the implementation detail that a dictionary is made up of associations. </div>
<div dir="auto"><br>
<br>
<div class="gmail_quote" dir="auto">
<div dir="ltr" class="gmail_attr"><<a href="mailto:commits@source.squeak.org" target="_blank">commits@source.squeak.org</a>> schrieb am Fr., 15. Nov. 2019, 13:59:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
A new version of Collections was added to project The Inbox:<br>
<a href="http://source.squeak.org/inbox/Collections-ct.860.mcz" rel="noreferrer noreferrer" target="_blank">http://source.squeak.org/inbox/Collections-ct.860.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: Collections-ct.860<br>
Author: ct<br>
Time: 15 November 2019, 1:58:56.418005 pm<br>
UUID: f6364e7f-08c8-694a-9060-21bc0a0c28d4<br>
Ancestors: Collections-pre.857<br>
<br>
Add convenience constructor for Dictionary<br>
<br>
Dictionary fromKeys: 'wasd' values: '8426'<br>
<br>
=============== Diff against Collections-pre.857 ===============<br>
<br>
Item was added:<br>
+ ----- Method: Dictionary class>>fromKeys:values: (in category 'instance creation') -----<br>
+ fromKeys: keys values: values<br>
+ <br>
+       | dictionary |<br>
+       self assert: [keys size = values size].<br>
+       dictionary := self new: keys size.<br>
+       keys with: values do: [:key :value |<br>
+               dictionary add: key -> value].<br>
+       ^ dictionary!<br>
<br>
<br>
</blockquote>
</div>
</div>
</div>
</div>
</div>

<br>
</blockquote></div>