lua-users home
lua-l archive

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


Javier Guerra wrote:
On Thu, Apr 3, 2008 at 7:37 PM, Daniel Stephens
<daniel@danielstephens.com> wrote:
Actually, the problem is that your sort function is invalid, it doesn't
follow the correct contract:

i think the point is not about function correctness, but why was it
ever called with nil values.

Because if you dont follow the contract the sort falls off the end of the list.