lua-users home
lua-l archive

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



On 20 Jul 2010, at 04:42, Alexander Gladysh wrote:
You need to do your comparison manually.

In general, this is not a trivial task (tables may contain
cross-references etc.).

See this for complete (I think) implementation:
http://github.com/lua-nucleo/lua-nucleo/blob/master/lua-nucleo/tdeepequals.lua


Also see:
 http://loop.luaforge.net/library/debug/Matcher.html

--
Renato Maia
Computer Scientist
Tecgraf/PUC-Rio
__________________________
http://www.inf.puc-rio.br/~maia/