Multiple dispatch (Re: [squeak-dev] The Inbox: Kernel-cmm.464.mcz)

Brent Pinkney brent at
Sun Jun 20 19:47:44 UTC 2010

> instead of the rather uglier
or, as it is used, the rather prettier:

   selector: things
     "a single Thing, or a collection of Things."

     ^ thing asCollection inject: 0 into: [:total :n | total := total + n].


More information about the Squeak-dev mailing list