[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] for-each should signal error if given a non-list?
From: |
Christian Kellermann |
Subject: |
Re: [Chicken-users] for-each should signal error if given a non-list? |
Date: |
Sat, 17 Jul 2010 21:20:22 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
* Alejandro Forero Cuervo <address@hidden> [100717 21:15]:
> Could we make for-each signal an error if given some argument (other
> than the first) which is not a list?
>
> In Chicken 3.4.0, evaluating (for-each 0 0) correctly signaled an
> error:
>
> Error: (for-each) argument is not a proper list: 0
>
> 4.5.0 seems to just silently ignore the typing error.
>
This has been fixed:
CHICKEN
(c)2008-2010 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 4.5.6
openbsd-unix-gnu-x86 [ manyargs dload ptables ]
compiled 2010-07-12 on hermes.my.domain (OpenBSD)
#;1> (for-each 0 0)
Error: (for-each) bad argument type - not a list: 0
Call history:
<syntax> (for-each 0 0)
<eval> (for-each 0 0) <--
HTH Christian