Re: Keyword arguments in procedures specified in SRFIs
Lassi Kortela 21 Jul 2019 20:52 UTC
> I haven't noticed a particular convention except, perhaps, association
> lists. Since keywords aren't standardized, SRFIs don't depend on them
> in general.
True, I didn't realize alists and plists are an option (no pun
intended). Keyword arguments essentially form a plist where the property
names are keywords.
But are the different keyword _objects_ incompatible with each other?
The read syntax is different, but if a SRFI simply specifies that the
implementation must have _some_ syntax for keywords, whether it be foo:
or :foo or #:foo, and uses one of them for illustrative purposes but
implementations are allowed to use the others, would that cause problems?