>>>>> "TC" == Tom Christiansen <[EMAIL PROTECTED]> writes:
TC> General cases should be preferred over special ones.
TC> We've never had named aggregate functions in Perl before that work
TC> like infix operators. What is the general proposal out of which this
TC> would intuitively decend?
Sorry, I'm not understanding your question.
1+2 = 3
2*2 = 4
(1,2,3) U (2,3,5) = (1,2,3,5)
(1,2,3) ^ (2,3,5) = (2,3)
(1,2,3) x (2,3,5) = ((1,2),(1,3), (1,5), (2,2), (2,3), (2,5) ...)
# yes, no nested lists. But what about
# n-dim arrays/matrices/tensors/whatevers
Seems just as useful as sin, cos, tan, **, and the other mathematical
operations. And the proposals to make matrix operations ala Basic's MAT.
Unless you want to go with
my Set (@a, @b, @c); # Is the type distributive?
@c = @a - @b;
@c = @a + @b;
@c = @a * @b; # cross product ?
I'm not understaning your position. I could have used such an operation
rather than rolling my own. And a module would be too heavy handed for
such a simple concept.
<chaim>
--
Chaim Frenkel Nonlinear Knowledge, Inc.
[EMAIL PROTECTED] +1-718-236-0183
- Re: proto-RFC: keys(HASH) as lvalue (was Re: RFC 179 ) Tom Christiansen
- Re: proto-RFC: keys(HASH) as lvalue (was Re: RFC 179 ) Bart Lateur
- Re: proto-RFC: keys(HASH) as lvalue (was Re: RFC 179 ) John Porter
- Re: RFC 179 (v1) More functions from set theory to manipu... Johan Vromans
- Re: RFC 179 (v1) More functions from set theory to manipu... Gael Pegliasco
- Re: RFC 179 (v1) More functions from set theory to manipu... Tom Christiansen
- Re: RFC 179 (v1) More functions from set theory to manipu... Gael Pegliasco
- Re: RFC 179 (v1) More functions from set theory to manipu... Chaim Frenkel
- Re: RFC 179 (v1) More functions from set theory to manipu... Gael Pegliasco
- Re: RFC 179 (v1) More functions from set theory to manipu... Tom Christiansen
- Re: RFC 179 (v1) More functions from set theory to manipu... Chaim Frenkel
- Re: RFC 179 (v1) More functions from set theory to manipu... Tom Christiansen
- Re: RFC 179 (v1) More functions from set theory to manipu... Tom Christiansen
- Re: RFC 179 (v1) More functions from set theory to manipu... Chaim Frenkel
- Re: RFC 179 (v1) More functions from set theory to manipu... Tom Christiansen
- Re: RFC 179 (v1) More functions from set theory to manipu... Chaim Frenkel
- Re: RFC 179 (v1) More functions from set theory to manipu... Tom Christiansen
- Re: RFC 179 (v1) More functions from set theory to manipu... Tom Christiansen
- Please take RFC 179 discussion to -data skud
- Re: Please take RFC 179 discussion to -data Gael Pegliasco
- Re: Please take RFC 179 discussion to -data Jeremy Howard
