[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Silly question

From: Andreas Rottmann
Subject: Re: [Chicken-users] Silly question
Date: Thu, 09 Dec 2004 12:38:36 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

"Joel Reymont" <address@hidden> writes:

> I have a silly question:
> (define (bb:make-widgets str fw fh . cmap)
> what does the . before cmap mean here?
(define (foo x . args)
  (display args) (newline))
(foo 1 2 3 4)
2 3 4

Or, in English: all left over arguments are passed in "cmap" as a
(possibly empty) list.

HTH, Andy
Andreas Rottmann         | address@hidden      | address@hidden | address@hidden      | GnuPG Key:
Fingerprint              | DFB4 4EB4 78A4 5EEE 6219  F228 F92F CFC5 01FD 5B62

Make free software, not war!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]