Introduction of a Either
/ Result
#624
Replies: 2 comments 2 replies
-
@KristianBalaj we've actually had a long convo about this before and we probably won't have an Either type in stdlib. There's been conversations about just supporting |
Beta Was this translation helpful? Give feedback.
-
Fair. Thinking about it further it's maybe not that necessary to have this from my point of view. I'm currently using it in datums to represent some state but maybe having a custom type with multiple constructors and custom functions is a better approach for readability than using a general So I don't have a reason to fight for having it in the |
Beta Was this translation helpful? Give feedback.
-
The stdlib is currently missing one of the essential types i.e.
Either<a, b>
.Beta Was this translation helpful? Give feedback.
All reactions