Complex as extension of Point ... Aaaaargh!
Philippe Marschall
philippe.marschall at gmail.com
Mon Oct 10 07:15:35 UTC 2005
2005/10/9, stéphane ducasse <ducasse at iam.unibe.ch>:
> We were waiting that someone say that :)
> Indeed this is the first basic trait example.
A basic trait example for me is Magnitude.
You implement #< and #=, you get #<=, #>, #>=, #min:, #max; #min:max:,
#between:and: and you're still free to choose as superclass what you
want.
More information about the Squeak-dev
mailing list
|