elm-community / elm-faq

FAQ about the Elm language.
https://faq.elm-community.org/
22 stars 24 forks source link

"union type" -> "custom type" #48

Closed ashishsc closed 6 years ago

ashishsc commented 6 years ago

The FAQ could use an update as the terminology has changed : https://github.com/elm-community/elm-faq/blob/797cb78f68e259b65f1e099dca3eb2cc526919b1/index.md#why-are-things-called-union-types-rather-than-algebraic-data-types

fredcy commented 6 years ago

I removed the section on "union type". It did not make sense to just replace "union type" with "custom type" in the FAQ as the section was quite specific to "union type" being the appropriate name.

If someone cares to write up a justification for "custom type" I'd be glad to add it.