> I was actually trying to address all three of them by suggesting how the
> class could be used instead of how it should be refined. If it doesn't
> make sense, just add "See documentation of Collection>>#from: for
> details." and, uh, forget about it. :)
Like this?
--- orig/kernel/Dictionary.st
+++ mod/kernel/Dictionary.st
@@ -52,7 +52,8 @@ equality of indices.' !
from: anArray
"Answer a new dictionary created from the keys and values of
Associations in anArray, such as {1 -> 2. 3 -> 4}. anArray
- should be specified using brace-syntax."
+ is meant to be specified using brace-syntax. See documentation
+ of Collection>>#from: for details."
| inst |
inst := self new: anArray size.
anArray do: [:assoc | inst at: assoc key put: assoc value].
Paolo
_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk