Hi.

A hidden bug in my code was uncovered by loading it into another
Scheme (guile), which enforced the limitation of 'when' and 'unless'
(in R7RS) to at least one result part.
Chicken accepts 'when' and 'unless' with only one argument:

> csi
CHICKEN
(c) 2008-2015, The CHICKEN Team
(c) 2000-2007, Felix L. Winkelmann
Version 4.10.1 (rev 9b38189)
linux-unix-gnu-x86 [ manyargs dload ]
compiled 2015-11-02 on sem14 (Linux)

#;1> (when #t)
#;2> (unless #t)

I assume that the extended definition in Chicken is R7RS-compliant,
but a stricter mode (or a harsh warning) would be helpful.

Ciao
Sven

_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to