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

Pull.fold #673

Open
cranst0n opened this issue Mar 3, 2023 · 0 comments
Open

Pull.fold #673

cranst0n opened this issue Mar 3, 2023 · 0 comments

Comments

@cranst0n
Copy link

cranst0n commented Mar 3, 2023

I think you may have accidentally used init rather than acc in the following 2 lines:

case StepResult.Done(_, r) => F.unit((r, init))
case StepResult.Out(newScope, hd, tl) =>
go(newScope, tl, f(init, hd))

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