<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;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="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div><font size="2" color="#808080"></font></div>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Von:</b> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von Jakob Reschke <forums.jakob@resfarm.de><br>
<b>Gesendet:</b> Sonntag, 17. November 2019 17:24:25<br>
<b>An:</b> squeak-dev@lists.squeakfoundation.org<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">commits@source.squeak.org</a>> schrieb am Fr., 15. Nov. 2019, 13:59:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;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>
</body>
</html>