Re: Reviewing named and optional parameters
Per Bothner 08 Jun 2021 05:38 UTC
One correction (in section "Keyword arguments to procedures"):
In Racket, a special form ... is needed to call procedures with keyword arguments with dynamic argument lists;
in Kawa, this does not appear to be possible at all.
Kawa has "arguments list" as a distinct type that generalizes list.
See http://www.gnu.org/software/kawa/Application-and-Arguments-Lists.html
and especially the "Explicit argument list objects" subsection.
The "splice" syntax forms @EXPRESSION and @:EXPRESSION (earlier on the same page)
combined with the argvector/arglist types provide powerful tools to build dynamic argument lists.
--
--Per Bothner
xxxxxx@bothner.com http://per.bothner.com/