FsToolkit.ErrorHandling
FsToolkit.ErrorHandling copied to clipboard
An opinionated F# Library for error handling
**Describe the bug** ``` member this.AsyncAcquireTokenInteractively (uiThread, correlationId) = asyncResult { do! Async.SwitchToContext uiThread let builder = pca.AcquireTokenInteractive(options.Scopes) .WithCorrelationId(correlationId) if not (isNull configureInteractive) then configureInteractive.Invoke(builder) try return! builder.ExecuteAsync() // FSharp.Control.FusionTasks...
## Proposed Changes Closes #167 ## Types of changes What types of changes does your code introduce to FsToolkit.ErrorHandling? _Put an `x` in the boxes that apply and remove ones...
**Is your feature request related to a problem? Please describe.* https://twitter.com/dsymetweets/status/1494424576834605064 **Describe the solution you'd like** TODO **Describe alternatives you've considered** Not doing this **Additional context** Add any other context...
**Describe the bug** The [`List.traverseResultA` function](https://github.com/demystifyfp/FsToolkit.ErrorHandling/blob/929208c7cbd0cb25234f8539e98c4ae6dda08a28/src/FsToolkit.ErrorHandling/List.fs#L48) and similar ones have this critical path: ```f# match state, fR with | Ok ys, Ok y -> traverseResultA' (Ok(y :: ys)) f xs...
I think the core FsToolkit.ErrorHandling package should include the TaskResult CE etc. by default and use the FSharp.Core `task { }` block.
Should List.traverseValidationA' be private just like the other functions that denote recursiveness (rec keyword)? https://github.com/demystifyfp/FsToolkit.ErrorHandling/blob/a4a0d2d53f4a9a0477d661431eae19c00cc3c766/src/FsToolkit.ErrorHandling/List.fs#L79
## Proposed Changes This adds doc comments to large parts of the code base. It's also cleans up function arguments ## Types of changes What types of changes does your...
I just upgraded from Cvdm.ErrorHandling to this. In Cvdm.ErrorHandling, I could unwrap an `Async` by using `let!` operator without piping into any of the AsyncResult or Result module conversion functions....
Hi! First of all I want to thank you for taking the time to write such a detailed documentation for every function in `FsToolkint.Errorhandling`! While going through the text, I...
**Is your feature request related to a problem? Please describe.** `Result` module contains ```fsharp either : ('a -> 'c) -> ('b -> 'c) -> Result -> 'c ``` Having its...