-
Notifications
You must be signed in to change notification settings - Fork 75
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(stdlib): Add zip
function
#1158
Conversation
src/stdlib/zip.rs
Outdated
} | ||
|
||
fn type_def(&self, _state: &TypeState) -> TypeDef { | ||
TypeDef::object(Collection::any()) |
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.
Should this be array
instead of object
?
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.
Of course, yes. Fixed in d703cd5
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.
Thanks, looks good. Will merge after we have the sibling PR in Vector to document the new function.
There are several other enhancements to this |
Summary
Adds the
zip
function as described in #1157Change Type
Is this a breaking change?
How did you test this PR?
Unit tests are included in the sources
Does this PR include user facing changes?
our guidelines.
Checklist
run
dd-rust-license-tool write
and commit the changes. More details here.