Hans Bulfone scripsit:

> this is exactly how i hoped it to be, but the question is if this
> is actually allowed or if it just works "accidentally".

It is indeed valid to have a lambda-list that is just an identifier,
in which case that identifier is bound to a list of all the arguments.
See the second bullet point in R5RS 4.1.4 at
http://schemers.org/Documents/Standards/R5RS/HTML/r5rs-Z-H-7.html#%_sec_4.1.4

Another way to think of it is that "r", considered as a list, has a tail
but no head.

-- 
Barry gules and argent of seven and six,        John Cowan
on a canton azure fifty molets of the second.   [EMAIL PROTECTED]
        --blazoning the U.S. flag               http://www.ccil.org/~cowan


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to