Don Syme

Results 1218 comments of Don Syme

FWIW I can see that neither `task { .. }` nor `backgroundTask { ... }` capture the computational modality for the kind of task writing that's in Stephen Toub's post....

Yeah, `backgroundTask` makes sense to me. What would you think if the spec of backgroundTask was this (instead of always using `Task.Run`)? ```fsharp backgroundTask { code } == if SynchronizationContext.Current...

Hmmmm interesting. Would be good to hear what other people think. It feels like we should at least make sure that we're following the recommended use (we should assume .NET...

RFC for the init-only/required parts of this work is here: https://github.com/fsharp/fslang-design/blob/main/FSharp-7.0/FS-1127-init-only-and-required-properties.md

@AdamBebko Thank you for this feedback!

Closing this out in favour of #309, we can discuss there

RFC: https://github.com/fsharp/fslang-design/blob/main/FSharp-7.0/FS-1123-result-module-parity-with-option.md Implementation: https://github.com/dotnet/fsharp/pull/13326

I'm labelling this as approved - I don't see any reason not to also support these given we interop with them anyway, and there are legitimate reasons to need them...

I'll open a new PR for this

> Would love to have this, seems to be a good improvement in the debugging experience. Is there anything I can help to progress with this :)? @dsyme @vzarytovskii I've...