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

set-car! called by value instead of by reference #139

Open
GoogleCodeExporter opened this issue Aug 19, 2015 · 2 comments
Open

set-car! called by value instead of by reference #139

GoogleCodeExporter opened this issue Aug 19, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
Evaluating the following lines:
(define a '(0))
(define (set-car-wrapper! list x)
    (set-car! list x))
(set-car-wrapper! a 3)

What is the expected output? What do you see instead?
a should be (3) yet evaluating the above results in an error.

What version of the product are you using? On what operating system?
Ypsilon 0.9.6-update3 running under Ubuntu 9.04.

Please provide any additional information below.


Original issue reported on code.google.com by Daniel.L...@gmail.com on 25 Apr 2010 at 11:22

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

No branches or pull requests

1 participant