SRFI 177: Portable keyword arguments

by Lassi Kortela

status: withdrawn (2020-07-31)

keywords: Binding

See also SRFI 88: Keyword objects and SRFI 89: Optional positional and named parameters.

Abstract

Many Scheme implementations have keyword arguments, but they have not been widely standardized. This SRFI defines the macros lambda/kw and call/kw. They can be used identically in every major implementation currently in use, making it safe to use keyword arguments in portable code. The macros expand to native keyword arguments in Schemes that have them, letting programmers mix portable code and implementation-specific code.