Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix invalid use of keyword parameters #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

spaghettisalat
Copy link

@spaghettisalat spaghettisalat 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
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.
@spaghettisalat
Copy link
Author

spaghettisalat 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