lua-users home
lua-l archive

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


In PiL 3 chapter 8 there is this exercise:

    "Can you find any value for f such that the call pcall(pcall,f)
returns false as its first result?"

Spoiler: the answer is yes, but the solution I found is convoluted and
involves the use of the debug library. Has anyone found a way to do it
*without* debug?

-- 
Pierre Chapuis