Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Fix stack removal. - #13

Merged
skx merged 2 commits into
masterfrom
12-stack
May 26, 2022
Merged

skx merged 2 commits into
masterfrom
12-stack

Conversation

@skx

@skx skx commented May 26, 2022

Copy link
Copy Markdown
Owner

Stacks should be implemented as LIFO, but ours was accidentally
FIFO which is very wrong. This would have caused nested-calls to
be handled badly.

Fixed implementation, added test-cases, and now this closes #12.

skx added 2 commits May 26, 2022 07:38
Stacks should be implemented as LIFO, but ours was accidentally
FIFO which is very wrong.  This would have caused nested-calls to
be handled badly.

Fixed implementation, added test-cases, and now this closes #12.
@skx
skx merged commit cd72b88 into master May 26, 2022
@skx
skx deleted the 12-stack branch May 26, 2022 04:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

stack implementation

1 participant

⌂ 换网址