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

Use CPS for breaking out of a fold prematurely instead of a mechanism based on the Step type #40

Closed
ivenmarquardt opened this issue Aug 18, 2019 · 1 comment

Comments

@ivenmarquardt
Copy link
Contributor

This results in reducers for arrFoldWhile of the following form:

acc => x => k => k(...)

Pros:

  • easíer composition
  • simplified loop fusion

Cons:

  • higher mental burden
@ivenmarquardt
Copy link
Contributor Author

Done.

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

No branches or pull requests

1 participant