lua-users home
lua-l archive

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

Sergey Zakharchenko <>:
> > >
[detectable difference between functions]

Possible alternate wording (may or may not be what you meant; note
that string.dump() equality never implied extensional equality anyway
so this isn't a breaking change really):

A function is always equal to itself. Functions may also compare equal
to other functions (depending on internal caching details). If they
do, their observable behaviour, but not necessarily the internal
represenation as observed via e.g. string.dump(), will be equivalent.

Best regards,