|
> Maybe a varargs (print-like) version of assert() could avoid this > dilemma. Or a generic: > > assert(cond, func, ...) > > that calls func(...) in case of assertion failure, before exiting. Something like this? http://lua-users.org/lists/lua-l/2010-05/msg00494.html