You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would make sense in my project. I'm doing some operations on data, that is initially loaded from remote. But other operations afterwards can fail, too. I would like to know the error case. Therefore Maybe is not an option. toResult would be nice.
Is it missing because it's not clear how to handle NotAsked and Loading ? It might make sense to intentionally not have it as a part of the library.
The text was updated successfully, but these errors were encountered:
There is
fromMaybe
There is
toMaybe
There is
fromResult
But
toResult
is missing.It would make sense in my project. I'm doing some operations on data, that is initially loaded from remote. But other operations afterwards can fail, too. I would like to know the error case. Therefore
Maybe
is not an option.toResult
would be nice.Is it missing because it's not clear how to handle
NotAsked
andLoading
? It might make sense to intentionally not have it as a part of the library.The text was updated successfully, but these errors were encountered: