[plt-scheme] lambda argument lists that contain only a rest argument

From: Psy-Kosh (psykosh at earthlink.net)
Date: Thu Mar 22 01:21:27 EDT 2007

> Why is this OK:
> (define (rest-only . r)
>   r)
> But this can't even be read into the interpreter:
> (define rest-only
>   (λ ( . r)
>     r))

(lambda args (do-something-to args))

ie, have your lonely rest var not in parens

Posted on the users mailing list.