Hygiene and allow-other-keys
Lassi Kortela 22 Feb 2020 22:39 UTC
> I think there's some merit to the hygienic keywords approach, but it's
> quite experimental whereas non-hygienic keywords have been common for
> decades.
Now I remember what the main point was. It allows you to write a wrapper
procedure that adds its own keyword arguments around another procedure
taking keyword arguments, without worrying that the outer procedure will
overwrite arguments of the inner procedure.
E.g. you can make a "with-logging" wrapper that takes keyword arguments
to control how the logging is done. It makes a keyword procedure that is
like the inner procedure, but with additional keywords for logging.
This feels like it would have important interactions with
allow-other-keys, but I can't think of any concrete examples off the top
of my head.