lua-users home
lua-l archive

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


> > Does this mean that the following program will fail:
> >
> > t = { true }
> > assert( t[1.0] )
> 
> I would hope so.
 
I hope not. From "1 and 1.0 hash different" follows "1 and 1.0 are unequal".
I think most programmers are irritated when "1 == 1.0" is not true.

   Jörg