OrderedDictionary.st
changeset 22322 e8e314fee20f
parent 22050 0f50787b77cf
child 22950 736804d40826
--- a/OrderedDictionary.st	Mon Oct 23 00:09:48 2017 +0200
+++ b/OrderedDictionary.st	Mon Oct 23 12:59:48 2017 +0200
@@ -114,7 +114,8 @@
 
     o from:3 to:6 do:[:each | Transcript showCR:each ].
 
-    o collect:[:eachAssoc | eachAssoc key -> eachAssoc value squared]. 
+    o collect:[:eachValue | eachValue squared].
+    o associationsCollect:[:eachAssoc | eachAssoc key -> eachAssoc value squared]. 
     o associations.  
     o order.         
     o reverse.