Re: tuple algebra (was: negative index in arrays)

2002-08-01 Thread Stephen Rawls
--- Aldo Calpini <[EMAIL PROTECTED]> wrote: > you should also consider the case TUPLE1 + 5 which > should return (a1 + 5, a2 + 5, ... , an + 5). Agreed. I had started to implement this already, but I've only done the add function so far, since I'm still testing and waiting for a consensus. >

Re: tuple algebra (was: negative index in arrays)

2002-08-01 Thread Aldo Calpini
Stephen Rawls wrote: > Also of note, instead of having TUPLE1 + TUPLE2 act as > arrays, and return the sum of their sizes, I am > treating it like this: (a1, a2, ... , an) + (b1, b2, > ... , bn) = (a1 + b1, a2 + b2, ... , an + bn) makes sense to me (and certainly adds some spice to the cause of t