chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] Re: #356: #!key and #!rest only work when number of r


From: Chicken Trac
Subject: [Chicken-janitors] Re: #356: #!key and #!rest only work when number of rest arguments is even
Date: Wed, 25 Aug 2010 13:14:25 -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:                         
 Component:  core libraries  |     Version:  4.5.x                  
Resolution:                  |    Keywords:  DSSSL keyword arguments
-----------------------------+----------------------------------------------

Comment(by ckeen):

 Replying to [comment:4 felix]:
 > Well, yes. The question is, whether this is a real problem, what kind of
 performance-impact such a check has and whether it makes sense to accept
 any combination of keyword/argument pairs. What about
 >
 >   ((lambda (#!rest r #!key f) ...) 1 f: f:)
 >
 > This is legal, since keywords are first-class. Is their any advantage in
 disallowing this? Can there be cases where someone actually wants this
 behaviour? I couldn't tell, really.

 Beats me. Maybe this is just a nice indication that I am doing things
 wrong. Since I don't know how to solve this myself I propose that we close
 this ticket again. We can have a shot at it again when this issue keeps
 reappearing...

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/356#comment:5>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

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