Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
feat: router contract #8352
feat: router contract #8352
Changes from 17 commits
9c2f4de
d4d625a
023878e
4719d86
d356733
b8c31fc
8fc9ac9
7d4cf6e
a87a856
9bbe1b8
27b501e
b71e0b8
e90867b
6ca3af6
72a3ad0
a36d8a9
c787d0c
d9651ef
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Renamed
collapse
function tocollapse_array
asutils::collapse::colapse(...)
looked weird.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can alternatively do
use collapse:collapse
inutils/mod.nr
and then import asutils::collapse
. That's what we do for e.g.PrivateContext
etc.I do agree with
collapse_array
potentially being a better name, but if so I think I'd also rename the file as well, ascollapse::collapse_array
is sorta janky.