Eric Deveaud <edeveaud@pasteur.fr> wrote:
+---------------
| use the dot notation
| (function arg1 arg2 arg3 . var_arg)
+---------------
Because I also do a little bit of Common Lisp programming
occasionally, I've gotten in the habit of always giving a
Scheme dotted formal the name "rest":
(define (foo x y z . rest) ...)
by analogy with the keyword "&rest", CL's equivalent for
a dot in that role:
(defun foo (x y z &rest rest) ...)
It's just a convention; use it if you find it helpful.
-Rob
-----
Rob Warnock, 31-2-510 rpw3@sgi.com
SGI Network Engineering http://reality.sgi.com/rpw3/
1600 Amphitheatre Pkwy. Phone: 650-933-1673
Mountain View, CA 94043 PP-ASEL-IA