We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This works:
(call-with-values (lambda () (values 1 2)) (lambda (x . rest) (display x) (newline) (display rest) (newline)))
But this does not:
(define-values (a . b) (values 1 2)) (cons a b)
The text was updated successfully, but these errors were encountered:
The scheme code for define-values is taken from R7RS and works correctly in different implementations. So the problem my be in syntax-rules.
define-values
syntax-rules
Sorry, something went wrong.
This is issue with macros. This doesn't match. bar ... should match nothing.
bar ...
(define-syntax foo (syntax-rules () ((_ (foo bar ... . baz)) '(foo baz)))) (print (foo (a . b)))
fix define-values #290
6dfa6cd
fix error message #290
89a39db
No branches or pull requests
This works:
But this does not:
The text was updated successfully, but these errors were encountered: