Stephen's idea and my answer regarding #flatten: gave me a weird idea. Adding

    Object >> do: aBlock [ aBlock value: self ]

would be quite convenient in many cases where you have double dispatch going on between normal objects and collections. How weird would this be?

Paolo



_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to