
In my lang, instead of using apply
, the procedure application syntax recognizes ...
, so instead of (apply proc my-list)
in Racket, you’d write (proc my-list ...)
in my lang.

I’d like to provide support for keyword-apply
, but I’m not sure what that should look like, syntactically.

(I don’t like that the user needs to provide presorted, parallel lists to keyword-apply
, so I’m going to have that handled automatically.)

For the syntax, I could have a separate kw...
id for a collection of keyword arguments…

Oh, there’s also the question of what, “a collection of keyword arguments” is. It could be as specific as a hash with keyword keys or a Rebellion record collection, or it could be as general as any dictionary whose keys can be converted into keywords.

I want to generalize my lang’s apply
syntax to allow arbitrary sequences, instead of lists, so I wouldn’t want the keyword counterpart to be overly specific. However, allowing arbitrary dictionaries is probably too general to be useful.

I like kw…