|
From: | Chicken Trac |
Subject: | [Chicken-janitors] #356: #!key and #!rest only work when number of rest arguments is even |
Date: | Tue, 24 Aug 2010 12:34:19 -0000 |
#356: #!key and #!rest only work when number of rest arguments is even -------------------------------------+-------------------------------------- Reporter: ckeen | Owner: felix Type: defect | Status: new Priority: major | Milestone: 4.6.0 Component: core libraries | Version: 4.5.x Keywords: DSSSL keyword arguments | -------------------------------------+-------------------------------------- Both should work IMHO: {{{ #;72> (apply (lambda (a #!rest r #!key (f #f)) f) '(something 1 2 3 4 5 f: foo)) #f #;73> (apply (lambda (a #!rest r #!key (f #f)) f) '(something 1 2 3 4 f: foo)) foo }}} -- Ticket URL: <http://bugs.call-cc.org/ticket/356> Chicken Scheme <http://www.call-with-current-continuation.org/> Chicken Scheme is a compiler for the Scheme programming language.
[Prev in Thread] | Current Thread | [Next in Thread] |