Closed fwbrasil closed 3 weeks ago
I'm changing the fiber completion to use Result[T] instead of T < IOs and noticed that Result produces MatchErrors for successful null values. This PR fixes that and also introduces a new convenience toTry method.
Result[T]
T < IOs
Result
MatchError
null
toTry
I'm merging this to unblock other work but lease feel free to provide feedback so I can address it!
I'm changing the fiber completion to use
Result[T]
instead ofT < IOs
and noticed thatResult
producesMatchError
s for successfulnull
values. This PR fixes that and also introduces a new conveniencetoTry
method.