Skip to content

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

Description

@flakey-bit

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions