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