lua-users home
lua-l archive

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

On Mon, Jun 1, 2009 at 1:00 AM, Petite Abeille <> wrote:
> On Jun 1, 2009, at 7:53 AM, Vaughan McAlley wrote:
>> I agree it's sometimes useful to see if a value == nil. Could nil be
>> given an __eq metamethod?
> Yes, you can attach a metamethod to nil.

Yes, but it would be meaningless. See the manual.

-Patrick Donnelly

"Let all men know thee, but no man know thee thoroughly: Men freely
ford that see the shallows."

- Benjamin Franklin