[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] Re: #443: #!rest and #!key are not internally consist
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] Re: #443: #!rest and #!key are not internally consistent |
Date: |
Thu, 16 Dec 2010 17:02:43 -0000 |
#443: #!rest and #!key are not internally consistent
-----------------------------+----------------------------------------------
Reporter: alanpost | Owner:
Type: defect | Status: closed
Priority: minor | Milestone: 4.7.0
Component: core libraries | Version: 4.6.x
Resolution: worksforme | Keywords:
-----------------------------+----------------------------------------------
Changes (by felix):
* status: new => closed
* resolution: => worksforme
Comment:
Replying to [comment:4 alanpost]:
> Essentially, it is impossible to have both #!key arguments and a
variable number of positional arguments.
It is possible if you deconstruct the argument list completely inside the
callee (just using #!rest/#!key and no positional arguments). I'm not sure
I understand completely, but what do you mean with "variable number of
positional arguments"? For the same procedure? Varying over what?
>
> I understand that this follows from the *implementation* of #!rest and
#!key, but from the perspective of someone using these features, it looks
arbitrary, particularly when "middle+rest (2)" is the only "middle"* test
that does so.
It's not arbitrary at all, it's perfectly well defined in the DSSSL
language and implemented like this in several Scheme systems.
--
Ticket URL: <http://bugs.call-cc.org/ticket/443#comment:6>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #443: #!rest and #!key are not internally consistent, Chicken Trac, 2010/12/08
- [Chicken-janitors] Re: #443: #!rest and #!key are not internally consistent, Chicken Trac, 2010/12/09
- [Chicken-janitors] Re: #443: #!rest and #!key are not internally consistent, Chicken Trac, 2010/12/11
- [Chicken-janitors] Re: #443: #!rest and #!key are not internally consistent, Chicken Trac, 2010/12/11
- [Chicken-janitors] Re: #443: #!rest and #!key are not internally consistent, Chicken Trac, 2010/12/11
- [Chicken-janitors] Re: #443: #!rest and #!key are not internally consistent, Chicken Trac, 2010/12/16
- [Chicken-janitors] Re: #443: #!rest and #!key are not internally consistent,
Chicken Trac <=