getkyo / kyo

Toolkit for Scala Development
https://getkyo.io
Apache License 2.0
481 stars 38 forks source link

result: support null values #480

Closed fwbrasil closed 3 weeks ago

fwbrasil commented 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.

fwbrasil commented 3 weeks ago

I'm merging this to unblock other work but lease feel free to provide feedback so I can address it!