-
Notifications
You must be signed in to change notification settings - Fork 94
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
Possibly create a ChoiceT Monad Transformer #99
Comments
There is this existing issue #52 |
Creating a We can test this approach by trying to re-write some sample code with ChoiceT Otherwise it should be straight-forward to create an |
Sounds like a nice thing for a pull request 😉 @Tombert |
I will start to look into making a PR for it @Tombert . We can pair on it if you want. |
Description
While I do see a
ResultT
transformer, several .NET libraries still use the (admittedly outdated)Choice
type (e.g.Async.Catch
). TheChoice
type is incompatible with theResult
type.Repro steps
N/A
Expected behavior
N/A
Actual behavior
N/A
Known workarounds
I suppose I could create a function called
choiceToResult
like thisHowever, this is a bit clunky since I'd have to pipe every
Choice
result into this function.The text was updated successfully, but these errors were encountered: