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

[spec] Update algorithm #290

Merged
merged 2 commits into from
Jan 25, 2024
Merged

[spec] Update algorithm #290

merged 2 commits into from
Jan 25, 2024

Conversation

rossberg
Copy link
Member

Fix #289.

@titzer
Copy link
Contributor

titzer commented Jan 24, 2024

lgtm

pop_vals([t1*])
let rest = pop_vals()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If pop_vals is called without a types parameter, does this mean it pops everything in there? (Is it documented somewhere?)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, that was missing. I managed to change the algorithm to not require this function and be simpler at the same time.

document/core/appendix/algorithm.rst Outdated Show resolved Hide resolved
Copy link
Contributor

@yamt yamt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks reasonable to me

Copy link
Member

@aheejin aheejin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@rossberg rossberg merged commit 7a97c6b into main Jan 25, 2024
5 checks passed
@rossberg rossberg deleted the algo branch January 25, 2024 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

algorithm.rst seems to need an update
4 participants