News for hackers. Stuff that matters.
Re:Elm 0.14 – Simpler Core, Better Tools by jmite on Wednesday December 10, 2014 @03:37PM (#8731531)
The thing is, "sum types" really only works if you're familiar with the analogy between boolean algebra and arithmetic (why OR becomes +).

Yes, they are disjoint union, but there's really no such thing as non-disjoint union in a statically typed language i.e. that's what makes it typesafe.

Re:Elm 0.14 – Simpler Core, Better Tools by tel on Wednesday December 10, 2014 @04:58PM (#8731983)
You can have "non-disjoint unions" in typesafe languages, you just will be no longer capable of distinguishing between the types of the members.