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

return typed slices instead of interface{} #57

Open
nilskuhn opened this issue Jul 8, 2020 · 0 comments
Open

return typed slices instead of interface{} #57

nilskuhn opened this issue Jul 8, 2020 · 0 comments

Comments

@nilskuhn
Copy link

nilskuhn commented Jul 8, 2020

It would be nice if it would be possible to use methods like Map() or Filter() and get back a slice from the stream whose elements are typed like the elements in the original slice.

Actually calling .Do().Out().Val() on a mapped or filtered stream provides an empty interface.

Am I missing something or isn't it possible at the moment to retrieve typed slices from Stream?

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

No branches or pull requests

1 participant