Adding Either type to the Standard Library

I have the same issue with label semantics, you have to look them up which type is left / first, also makes it hard to reason about when reading the code.

I’d rather prefer a language feature like this instead.

3 Likes