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
https://scheme.com/tspl4/syntax.html#./syntax:s42
The given example is missing set! in the syntax-case literal list:
set!
(let ([ls (list 0)]) (define-syntax a (make-variable-transformer (lambda (x) (syntax-case x () [id (identifier? #'id) #'(car ls)] [(set! _ e) #'(set-car! ls e)] [(_ e ...) #'((car ls) e ...)])))) (let ([before a]) (set! a 1) (list before a ls))) ⇒ (0 1 (1))
As-is, any form like (a _ _) will result in a set! form.
(a _ _)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://scheme.com/tspl4/syntax.html#./syntax:s42
The given example is missing
set!
in the syntax-case literal list:As-is, any form like
(a _ _)
will result in aset!
form.The text was updated successfully, but these errors were encountered: