[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: A suggestion for Lua 5.3 manual Section 8 (was "A rant about backward-incompatible changes")
- From: Coda Highland <chighland@...>
- Date: Tue, 14 Jul 2015 08:41:13 -0700
On Tue, Jul 14, 2015 at 8:38 AM, Peter Aronoff <telemachus@arpinum.org> wrote:
> Coda Highland <chighland@gmail.com> wrote:
>> Lua does, too. The feature in question spent the full duration of 5.2
>> clearly marked as "deprecated" and was accordingly removed from the next
>> major revision.
>
> This is true and fair enough.
>
> Nevertheless, I would still suggest that the Lua 5.3 manual should add, in
> section 8.1 Changes in the Language, the following:
>
> * unpack was moved to table.unpack
>
> It doesn't need to be any more complicated than that, but I think it would be
> useful to list it explicitly in the manual for the simple reason that users may
> be familiar with `unpack` from Lua 5.2 but not have followed or noted the
> deprecation.
It's already THERE -- just not in 5.3, but in 5.2 where that change
actually happened:
http://www.lua.org/manual/5.2/manual.html#8.2
/s/ Adam