Double dispatching and Point
Hans-Martin Mosner
hm.mosner at cww.de
Tue Feb 3 20:36:42 UTC 1998
Bijan Parsia wrote:
>
> At 1:45 PM -0500 2/2/98, Patrick Logan wrote:
>
> [snip]
>
> >
> >(3) Point is a two-dimensional value. It cannot be made linear.
>
> (I'm assuming that by 'linear' one means 'having a one-to-one
> correspondence with the natural numbers'.)
>
> (Smalltalk) points are ordered pairs of integers (not of reals), correct?
Nope. x and y can be arbitrary objects, although in practice mostly
numbers are used.
Not necessarily integer, though.
Hans-Martin
More information about the Squeak-dev
mailing list
|