dotnet / dotnet/docs

F# Results: Discuss Computation Expressions

Open
#46,247 0 comments 0 reactions 0 assignees View on GitHub
:watch: Not Triaged
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
19h 10m
Merged PRs (30d)
268

Description

### Missing discussion on computation expressions and the Result type

The [documentation page](https://learn.microsoft.com/en-us/dotnet/fsharp/language-reference/results) on the `Result` type only discusses pattern matching. There is no discussion of computation expressions. Therefore, less experienced developers are stuck with a suboptimal way of chaining monadic computations. Since F# has no built-in builder for a `Result` CE, it would be good if the documentation included an example implementation.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.