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

Implement FlatMap() #31

Merged
merged 2 commits into from
May 17, 2024
Merged

Implement FlatMap() #31

merged 2 commits into from
May 17, 2024

Conversation

Foxtrek64
Copy link
Contributor

Fixes #30

Adds Optional<T>#FlatMap()
Adds tests for the new function

@Foxtrek64
Copy link
Contributor Author

This doesn't do anything with analyzers because I'm not at all familiar with writing analyzers, but if anyone wants to tackle a suggestion provider to handle Map(func).Value to unwrap Optional<Optional<T>> or other similar suggestions, I think that'd be a good idea.

@Nihlus Nihlus merged commit 799baf1 into Remora:main May 17, 2024
3 checks passed
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.

Add Optional<T>#Bind()
3 participants