lua-users home
lua-l archive

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


Sergey Zakharchenko <doublef.mobile@gmail.com>:
> > > https://github.com/lua/lua/blob/af6d9f31165a13c34c0601f37ca5a67c365d1d01/manual/manual.of#L1798
[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,

--
DoubleF