lua-users home
lua-l archive

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


> 
> 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.

As Gavin pointed out, this was reported before. But you could not know,
because the book still doesn't have an errata :-)  I hope to fix this
soon. Thanks for the report, anyway.


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

Many thanks :-)

-- Roberto