chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] [PATCH] Fix scrutiny special case for list-tail wh


From: Peter Bex
Subject: Re: [Chicken-hackers] [PATCH] Fix scrutiny special case for list-tail when tail is null
Date: Fri, 8 Aug 2014 23:51:56 +0200
User-agent: Mutt/1.4.2.3i

On Wed, Aug 06, 2014 at 06:33:45PM +1200, Evan Hanson wrote:
> Due to an off-by-one, the special-cased scrutiny for `list-tail` fails
> when the index argument is equal to the length of the list, giving a
> (list-of ...) as the result type rather than null. While that isn't
> technically incorrect, it also isn't as accurate as possible; this patch
> fixes this case.

Good catch, thanks!  Pushed.

Cheers,
Peter
-- 
http://www.more-magic.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]