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

CSE machine: inaccurate arrow from stash to pair #3062

Open
martin-henz opened this issue Oct 21, 2024 · 1 comment
Open

CSE machine: inaccurate arrow from stash to pair #3062

martin-henz opened this issue Oct 21, 2024 · 1 comment
Labels
Bug Something isn't working

Comments

@martin-henz
Copy link
Member

Screenshot 2024-10-21 at 3 05 21 PM

https://share.sourceacademy.org/vwwjn

The arrow should point to the first pair of xs, not between the first and the second pair.

const append =
      (xs, ys) => is_null(xs)
                  ? ys
                  : pair(head(xs), append(tail(xs), ys));

append(list(1,2), list(3));
@martin-henz martin-henz added the Bug Something isn't working label Oct 21, 2024
@RichDom2185
Copy link
Member

For reference: it is step number 29 out of 69 (and seems to be only affecting step 29)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants