chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] [Chicken-hackers] and-let* syntax too permissive?


From: Mario Domenech Goulart
Subject: Re: [Chicken-users] [Chicken-hackers] and-let* syntax too permissive?
Date: Sun, 30 Jun 2013 17:13:24 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

On Sun, 30 Jun 2013 15:11:26 +0200 Peter Bex <address@hidden> wrote:

> On Sun, Jun 30, 2013 at 03:10:59PM +0200, Peter Bex wrote:
>> On Mon, Jun 24, 2013 at 11:34:02AM +0200, Michele La Monaca wrote:
>> > I think it's dangerous to leave it as it is. For example:
>> > 
>> > #;3> (and-let* (((or #f #t))) 1)    ;; correct
>> > 1
>> > #;4> (and-let* ((or #f #t)) 1)      ;; WRONG!   -> a stricter syntax
>> > would catch this error
>> > #f
>> 
>> I agree this type of mistake should be caught.  Attached is a patch
>> that fixes this (and adds a test for it).
>> 
>> Thanks for reporting this bug!
>
> Of course I forgot the attachment...

Thanks, guys.  I've pushed the patch.

Best wishes.
Mario
-- 
http://parenteses.org/mario



reply via email to

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