by ch4s3 · 6mo ago · 0 comments
[1] https://www.irif.fr/_media/users/gduboc/elixir-types.pdf
If they don’t unless you add them to “explicitly remove such a restriction”, then that means you’re making types more set-like (set-theoretic).
In strict “type theory”, it’s the latter: types don’t have unions (in the sense that set-theoretic types do). There are sum types, which are different.