Skip to content

Fix invalid use of keyword parameters#41

Open
MariusGerbershagen wants to merge 1 commit into
xach:masterfrom
MariusGerbershagen:master
Open

Fix invalid use of keyword parameters#41
MariusGerbershagen wants to merge 1 commit into
xach:masterfrom
MariusGerbershagen:master

Conversation

@MariusGerbershagen
Copy link
Copy Markdown

@MariusGerbershagen MariusGerbershagen commented Jun 19, 2023

According to CLHS section 3.5.1.5 only symbols are permitted as keys while parameters-alist is called with strings. SBCL doesn't check this but other implementations (e.g. ECL) do.

@xach
Copy link
Copy Markdown
Owner

xach commented Jun 19, 2023 via email

According to CLHS 3.5.1.5 only symbols are permitted as keys while
parameters-alist is called with strings. Remove the unnecessary &key
and &allow-other-keys.
@MariusGerbershagen
Copy link
Copy Markdown
Author

MariusGerbershagen commented Jun 20, 2023

Can I trouble you to add a compiler macro that does the same?

Sure. I hope this looks better to you now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants