[comp.lang.scheme.c] variable argument list question

markf@altdorf.ai.mit.EDU ("Mark Friedman") (02/21/91)

>> In standard scheme the following will work for the simplest case:
>> 
>> ((lambda args (car args)) 1 2 3)  ==> 1
>> 
>> ((lambda ( . args) (car args)) 1 2 3)  ==> 1
>> 
>> The following also works in MIT Scheme:
>> 
>> ((lambda (#!rest args) (car args)) 1 2 3)  ==> 1

Oops, sorry. "((lambda ( . args) (car args)) 1 2 3)" isn't legal.

Never mind.

-Mark