Result<Result<T>> and the absence of Bind #1312
-
Is there any reason to not have |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
You need to bind Try<T> tryT = () => default(T);
Func<T, Try<AnotherT>> tryAnotherT = (T t) => () => MapTToAnotherT(t);
Try<AnotherT> operation = tryT.Bind(tryAnotherT); |
Beta Was this translation helpful? Give feedback.
-
This might be helpful, too: |
Beta Was this translation helpful? Give feedback.
-
Thanks. I wish it was more articulated, e.g. via the |
Beta Was this translation helpful? Give feedback.
-
Because of the endless confusion about |
Beta Was this translation helpful? Give feedback.
This might be helpful, too:
#1226