[Top][All Lists]

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

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

From: Peter Bex
Subject: Re: [Chicken-users] and-let* syntax too permissive?
Date: Sun, 30 Jun 2013 15:10:59 +0200
User-agent: Mutt/

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!


reply via email to

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