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

something like innerJoin (kind of similar to zipWith) but with Key #2713

Open
ckosmowski opened this issue Mar 3, 2022 · 0 comments
Open

Comments

@ckosmowski
Copy link

I am wondering if we can merge two collections to tuples if and only if the elements have something in common:

// (tuple(1, 1), tuple(2, 2))
Seq.of(1, 2, 4).innerJoin(Seq.of(1, 2, 3), (a, b) -> a == b);

the jool library has something like this.

I was searching vavr for such a function but i did not find it yet

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