Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-lines From: markf@altdorf.ai.mit.EDU ("Mark Friedman") Newsgroups: comp.lang.scheme.c Subject: Re: variable argument list question Message-ID: <9102201926.AA07693@bloom-beacon.MIT.EDU> Date: 20 Feb 91 18:51:25 GMT Sender: daemon@athena.mit.edu (Mr Background) Reply-To: markf@zurich.ai.mit.edu Organization: The Internet Lines: 16 >> 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