[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Transparent shallow copy of tables
- From: steve donovan <steve.j.donovan@...>
- Date: Mon, 28 Sep 2009 12:56:38 +0200
On Mon, Sep 28, 2009 at 12:49 PM, Stuart P.Bentley
<stuart@testtrack4.com> wrote:
> How can I do a shallow copy of a table that operates identically to the
> original?
OK, I'm trying to understand the application here; it is a copy, not a
proxy (i.e. the modifications apply to the original object)? I suppose
an object is identical when it behaves exactly like the original, but
then a low-level function like table.concat() cannot be expected to
work, unless it's a true copy.