Re: The name of "keyword-call"
Lassi Kortela 23 Oct 2019 14:03 UTC
> As for being
> no longer than apply, apply is meant to be used as a special case of
> function calling, not the ordinary and natural case.
keyword-call is also a special case in standard Scheme. I chose the long
name "keyword-call" deliberately to call attention to it, though I'll
accept "kwcall" or even "kcall" if others prefer it.
Racket has keyword-apply, so keyword-call is a nice analogy to that one.
(IMHO keyword-apply is really messy to use in practice; it's the best
argument for CL-style keywords).
If R7RS-large gets keyword arguments, are special keyword-call and
keyword-lambda needed there at all? Can't ordinary procedure calls and
lambda do keywords?