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

Add warning for fa.map(g).as(x) or fa.map(g).void #155

Open
Daenyth opened this issue Dec 5, 2023 · 0 comments
Open

Add warning for fa.map(g).as(x) or fa.map(g).void #155

Daenyth opened this issue Dec 5, 2023 · 0 comments

Comments

@Daenyth
Copy link

Daenyth commented Dec 5, 2023

Accidentally using .as or .void after a .map is currently an undetectable category of bug, and it's a common and easy mistake to make (the former map should probably be a flatMap)

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