Skip to content

CSE machine: inaccurate arrow from stash to pair #3062

Open
@martin-henz

Description

@martin-henz

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));

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions