Re: Why are these functions not equal?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Why are these functions not equal?
- From: Peter Melnichenko <petjamelnik@...>
- Date: 2014年3月29日 11:59:48 +0400
It might be that the manual refers to creating functions from (literally) same code.
Lua 5.2.3 Copyright (C) 1994-2013 Lua.org, PUC-Rio
> function factory() return function() end end
> print(factory() == factory())
true
Peter