3 ms·
That's just a slightly different syntax for Either as far as I can see.
by lmm 14y ago
That's just a slightly different syntax for Either as far as I can see.
- masklinn 14y agoIt's similar but without type system support, in Erlang's case because the language is dynamically typed. So the union is implemented via a tuple field rather than the type system.