-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add values-oriented zip
to qi/list
#183
Labels
enhancement
New feature or request
Comments
So is Said another way, if we make a table like
Then zip takes |
countvajhula
added a commit
to countvajhula/qi
that referenced
this issue
Jan 6, 2025
This supports zipping with any operation, defaulting to list if none is indicated. Towards drym-org#183.
countvajhula
added a commit
to countvajhula/qi
that referenced
this issue
Jan 6, 2025
This supports zipping with any operation, defaulting to list if none is indicated. Towards drym-org#183.
countvajhula
added a commit
to countvajhula/qi
that referenced
this issue
Jan 17, 2025
This supports zipping with any operation, defaulting to list if none is indicated. Towards drym-org#183.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This problem was posed by @soegaard on Discord:
It would be nice if the following worked:
Note this version is slightly different from the original posed question in that it accepts values directly rather than a list of values. Likewise, the
zip
should yield multiple lists as independent values, rather than a single list containing them all.(@benknoble suggested the introduction of a values-oriented form analogous to by that would allow for a different solution here -- this form also sounds like it would be a good addition, to
qi
core rather thanqi/list
).The text was updated successfully, but these errors were encountered: