[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Overloading Concatenate operator
- From: Stefan Brantschen <sbr@...>
- Date: Tue, 3 Jul 2007 05:04:14 +0200
On 3 Jul 2007, at 02:52, Walt Rorie-Baety wrote:
Sorry if this has already been answered, but I've always
wondered: has anyone ever thought of using the concatenate operator
with a table,
analogously to how it's used with strings? The awkwardness of
combining two tables together has always irritated me, and the
operation seems to me to represent the closest fit to the concept.
Am I just dreaming, have I been standing too close to the
given off by other programming languages, or is this a possible
addition to the language space, if only as an experiment?
Maybe I don't understand your question, but why don't you just
implement your own __concat metamethod that fits your specific problem?