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

Use List as return type for zipOrAccumulate #98

Conversation

YuitoSato
Copy link
Contributor

@YuitoSato YuitoSato commented Mar 9, 2024

I unified the return type of some zipOrAccumulate functions from Result<V, Collection> to Result<V, List>. This was probably a mistake, but if it was intentional, please reject this.

Returning Result<V, Collection> is inconvenient because, even though the content is List, it requires casting or similar operations on the caller's side.

@michaelbull
Copy link
Owner

Merged in 716109a

@YuitoSato
Copy link
Contributor Author

Thank you!

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.

2 participants