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

Ensure proper 'zip-applicative' behavior for async computations #593

Merged
merged 6 commits into from
Feb 12, 2024

Conversation

gusty
Copy link
Member

@gusty gusty commented Feb 6, 2024

We expect that computation.zip accumulates errors, for async, task and valueTask.
While trying to assert it, we realized we need to fix some stuff, including some FSharp.Core functions.

@gusty gusty force-pushed the gus/non-sequential-task-ops branch from 5a7f149 to 65ecb4e Compare February 6, 2024 07:23
@gusty gusty force-pushed the gus/non-sequential-task-ops branch 20 times, most recently from c7feb46 to 9718cb6 Compare February 9, 2024 20:49
@gusty gusty changed the title Ensure proper zip applicative behavior for async computations Ensure proper 'zip-applicative' behavior for async computations Feb 9, 2024
@gusty gusty force-pushed the gus/non-sequential-task-ops branch 4 times, most recently from 6134bcf to c7ceb09 Compare February 10, 2024 11:01
@gusty gusty force-pushed the gus/non-sequential-task-ops branch from 7696c3c to f7ac799 Compare February 10, 2024 11:04
@gusty gusty force-pushed the gus/non-sequential-task-ops branch 2 times, most recently from a530890 to 2911800 Compare February 11, 2024 11:07
@gusty gusty force-pushed the gus/non-sequential-task-ops branch 12 times, most recently from 00b56ce to 9cc1c48 Compare February 12, 2024 08:51
@gusty gusty marked this pull request as ready for review February 12, 2024 08:52
@gusty gusty merged commit 1166af9 into master Feb 12, 2024
12 checks passed
@gusty gusty deleted the gus/non-sequential-task-ops branch February 12, 2024 18:28
#else
let map2 f x y = async {
let map2 mapper (async1: Async<'T1>) (async2: Async<'T2>) : Async<'U> = async {
Copy link
Member

@wallymathieu wallymathieu Feb 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a potentially breaking change

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.

2 participants