This commit is contained in:
Diego Nehab 2004-08-04 06:29:41 +00:00
parent 2bb1bc7227
commit 28f0e4a3fb

View File

@ -70,7 +70,7 @@ Fortunately, all these problems are very easy to solve and that's what we do in
== Introducing the {{protect}} factory ==
We used the {{pcall}} function to shield the user from errors that could be raised by the underlying implementation. Instead of directly using {{pcall}} (and thus duplicating code) every time we prefer to a factory that does the same job:
We used the {{pcall}} function to shield the user from errors that could be raised by the underlying implementation. Instead of directly using {{pcall}} (and thus duplicating code) every time we prefer a factory that does the same job:
{{{
local function pack(ok, ...)
return ok, arg