A simple puzzle
Tim Olson
tim at io.com
Tue Sep 9 10:52:15 UTC 2003
On Tuesday, September 9, 2003, at 04:03 AM, ducasse wrote:
> col := {337 at 314 . 327 at 274 . 320 at 237}.
> (2 * 400 at 0) - col
> -> this fails :(
How about separating the x and y components by multiplying by (1 at 0) and
(0 at 1), then recombining with "+" e.g.:
((2 * 400 @ 0) - col) * (1 at 0) + (col * (0 at 1))
Not very intention-revealing, though.
-- Tim Olson
More information about the Squeak-dev
mailing list
|