Re: [Chicken-hackers] Allowing unspecified key arguments in functions

2019-07-26 Thread kooda
Amir Teymuri wrote: > I had a question about the objectives and reasons of allowing > un-specified key arguments in functions as soon as i want to have some > key arguments. Any DSSSL style arguments (#!rest, #!optional and #!key) always are optional arguments to the procedure. You can think of

[Chicken-hackers] Allowing unspecified key arguments in functions

2019-07-26 Thread Amir Teymuri
I had a question about the objectives and reasons of allowing un-specified key arguments in functions as soon as i want to have some key arguments. Take a look at the following case: ;;; The function (define (foo a #!key b) (list a b)) Now passing any number of key arguments in addition to b does