lua-users home
lua-l archive

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


Hello,

I think I have found an error in the code on page 86. It states:

function rest (left, right, bottom, up)
return function (x, y)
return left <= x and x <= right and
bottom <= x and x <=up
end
end

I assume the "bottom <= x and x <=up" should actually be "bottom <= y and y <=up". I thought I would send this to you, incase you need it for the errata list.

Thank you for this fantastic book, I am really enjoying it. Keep up the great work!