frontend icon indicating copy to clipboard operation
frontend copied to clipboard

CSE machine: inaccurate arrow from stash to pair

Open martin-henz opened this issue 4 months ago • 1 comments

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 avatar Oct 21 '24 07:10 martin-henz