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

Lonely else in cond #366

Closed
jcubic opened this issue May 22, 2024 · 0 comments
Closed

Lonely else in cond #366

jcubic opened this issue May 22, 2024 · 0 comments

Comments

@jcubic
Copy link
Collaborator

jcubic commented May 22, 2024

This expression fails to evaluate:

(cond (else (define x 7) x))

This works fine:

(cond ((zero? 1)) (else (define x 7) x))

Found by Scheme survey: schemedoc/surveys#60

jcubic added a commit that referenced this issue May 27, 2024
@jcubic jcubic closed this as completed May 27, 2024
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

No branches or pull requests

1 participant