lua-users home
lua-l archive

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


On 17 September 2014 11:47, <polyglot@openmailbox.org> wrote:
The main problem, however, is that any integer less than 1 produces the
empty set. Try n = -42 with your for loop.

Is that a problem?

    $ lua -e 'print(#{[-42]=true})'
    0