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

Arrow Fx DSL #3443

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
Draft

Arrow Fx DSL #3443

wants to merge 9 commits into from

Conversation

nomisRev
Copy link
Member

This PR proposes a new module for Arrow Fx Coroutines, which covers the existing behavior in Arrow Fx but in a generalised way using DSLs.

All the above non-DSL variants, can be implemented by their DSL variations. Simplifying the internals of Arrow Fx Coroutines. The idea behind this is future proofing, since my ambition for 3.0 is to split Raise and the typed error handling DSL from Arrow Core such that users can rely on only the DSL after 3.0. That should be do-able with only a single binary breakage in Arrow Core, so 3.0 should be source compatible, and 99% binary compatible once Context Parameters are released.

  • Write tests
  • Check all edge-cases with AwaitAllScope
  • Implement parZipOrAccumulate DSL
  • Finish RacingScope

Investigate if we need, or want, <E> variants when inside Raise<E>.

@serras
Copy link
Member

serras commented May 31, 2024

One DSL to rule them all and in the coroutines bind them?

@nomisRev
Copy link
Member Author

nomisRev commented Jun 1, 2024

"It all began with the forging of the Great" DSLs 🤣

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

Successfully merging this pull request may close these issues.

None yet

2 participants