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

Function returned from Either::liftApAcc closes over leftErrs from the outer scope #64

Open
flakey-bit opened this issue Sep 16, 2022 · 0 comments

Comments

@flakey-bit
Copy link

Firstly, thanks for the great library 🙂

It appears that the function returned from Either::liftApAcc closes over leftErrs from the outer scope.

That effectively means the function returned from Either::liftApAcc is stateful and can't be used more than once.

NB: I noticed while applying your suggestion from #61.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant