lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> This is exactly how I would expect a copy function to work without reading
> the documentation. I was surprise to see self-copy as the default.

Maybe the name 'copy' is not good, but we added this function thinking
mostly about self-coping (moving??), for instance as a basis for other
functions like insert and remove (inspired by Laurie's block.move).  The
ability to copy to another table should be a plus, not the main goal.

-- Roberto