source-academy / frontend

Frontend of Source Academy, an online experiential environment for computational thinking (React, Redux, Saga, Blueprint)
https://sourceacademy.org
Apache License 2.0
103 stars 168 forks source link

CSE machine: inaccurate arrow from stash to pair #3062

Open martin-henz opened 3 weeks ago

martin-henz commented 3 weeks ago

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));
RichDom2185 commented 3 weeks ago

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