Replies: 1 comment 1 reply
-
In general, FSharp.Core does not deliver builders for computation expressions that can be (sometimes even trivially) done by libraries or directly in app code. Unlike types and abstractions, CEs compose well as long as they have the same underlying type. Therefore the users do not experience any friction when combining CEs from two competing libraries, as long as they are all operating on the same types. If a 3rd party library or custom code can fulfill the need equally well and there is neither friction nor "ecosystem split" when more competing alternatives exist => I don't think FSharp.Core should take over. The same applies to |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The Result type and CEs are core features of F# and yet there is no built-in CE for Result. In this repo I could not find a suggestion for adding it to FSharp.Core. In the F# Forums and in Slack there are links to two libraries that provide this feature (and a lot more).
I assume there is a good reason why it is not already in FSharp.Core. At the same time, it is natural to want to combine both language features and it would require little effort to implement.
So, why not?
Beta Was this translation helpful? Give feedback.
All reactions