lua-users home
lua-l archive

Arrays and Tables

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


Hi,
I was looking to see if Lua ever had a distinct array type, and
reading the hopl paper it seems that Lua 1.1 indeed had distinct array
and table types but the two types were merged to a single table type
in Lua 2.1.
I think the Lua team believe this was the right decision - at least
that is the impression I get from various talks given by Roberto. I
wonder if the language would be more powerful if it had a distinct
array type.
I am not suggesting any change here ... as I believe it is never going
to happen. But I would be interested to know what Lua users think.
Regards
Dibyendu

AltStyle によって変換されたページ (->オリジナル) /