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

support enough primitives to implement exists and for_all in parallel #89

Closed
craff opened this issue Oct 15, 2022 · 2 comments
Closed

Comments

@craff
Copy link

craff commented Oct 15, 2022

This typically requires propagating exception and cancellation.

@gasche
Copy link
Contributor

gasche commented Oct 15, 2022

In #90 I propose

val parallel_find : ?chunk_size:int -> start:int -> finish:int ->
  body:(int -> 'a option) -> pool -> 'a option

which lets one easily derive exists, forall but also value-returning versions.

@gasche
Copy link
Contributor

gasche commented May 23, 2023

I believe that this can be closed now that #90 is merged (thanks!).

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

3 participants