[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Extending Lua for multiple light userdata types
- From: Richter, Jörg <Joerg.Richter@...>
- Date: Wed, 14 Nov 2012 13:57:07 +0000
> > 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
- References:
- Extending Lua for multiple light userdata types, Rena
- Re: Extending Lua for multiple light userdata types, Dirk Laurie
- Re: Extending Lua for multiple light userdata types, Rena
- Re: Extending Lua for multiple light userdata types, Dirk Laurie
- Re: Extending Lua for multiple light userdata types, Rena
- Re: Extending Lua for multiple light userdata types, Coda Highland
- Re: Extending Lua for multiple light userdata types, liam mail
- Re: Extending Lua for multiple light userdata types, Roberto Ierusalimschy
- RE: Extending Lua for multiple light userdata types, Richter, Jörg
- Re: Extending Lua for multiple light userdata types, Dirk Laurie