Re: allow-other-keys Marc Nieper-Wißkirchen 03 Nov 2019 08:16 UTC

Am Di., 29. Okt. 2019 um 19:30 Uhr schrieb Lassi Kortela <xxxxxx@lassi.io>:
>
> One more unresolved problem is whether 177 should support
> "allow-other-keys". It would be useful in making wrapper procedures that
> can pass unknown keywords on to another procedure.
>
> I didn't check whether all the current Scheme implementations with
> native keywords support allow-other-keys. I suspect some of them don't;
> in that case the feature has to be left out of 177.

It has been argued that "procedures" taking keyword arguments shall be
first-class procedures (so they cannot be implemented as macros, which
I would have preferred).

First-class procedures with keyword arguments without any way to
forward unknown keyword arguments lose much of their power, though.
Thus, I think that if we want first-class procedures with keyword
arguments, we also need some mechanism to forward unknown keyword
arguments.

Marc