3 ms·
>Elixir doesn't have any concept of real tagged unions or sum types What about this? -type int_or_str() :: {a, integer()} | {b, string()}.
by mapcars 6y ago
>Elixir doesn't have any concept of real tagged unions or sum types
What about this?
-type int_or_str() :: {a, integer()} | {b, string()}.