[Top][All Lists]

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

(ice-9 optargs) lambda* and define* #:rest broken

From: Clinton Ebadi
Subject: (ice-9 optargs) lambda* and define* #:rest broken
Date: Wed, 26 May 2004 12:00:05 -0400

(define foo (lambda* (#:key (atts '()) #:rest rest) (format #t "Atts:
~S; Rest: ~S~%" atts rest)))

(foo #:atts '(1 2 3) 'foo 'bar)
] Atts: (1 2 3); Rest: (#:atts (1 2 3) foo bar)

The same occurs with define*, the keyword arguments are not removed from
the rest list. This is broken in 1.6.x and CVS HEAD.

AIM:unknownlamer IRC:address@hidden
I use Free Software because I value freedom over features.

Attachment: signature.asc
Description: This is a digitally signed message part

reply via email to

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