[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: pil2 errata
- From: roberto@... (Roberto Ierusalimschy)
- Date: Mon, 29 May 2006 10:58:42 -0300
> couldn't find an errata list on the pil2 home page...
There isn't one yet.
> on pg 60
>
> function getnext(list, node)
> return not node and list or node.next
> end
>
> shouldn't that be
>
> if not node then return list else return node.next end
>
> to handle the corner case list==nil?
Sure. I guess it is time to create the errata :)
-- Roberto