Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
type system extensions #1039
This issue is to aggregate features that have been requested. You can discuss it more on community forums. This is just for centralizing things.
The ML-family has a rich history, with many different languages and many different type system features. The most commonly requested type system features are:
These requests usually come from folks coming from Haskell who want Elm to be Haskell.
There are a variety of ways to get roughly the same sort of "genericness" in your code.
I think all of these approaches are compelling, and since the very beginning of Elm, it has not become clear which is "the right choice" for Elm. It is also true that if you go too crazy adding this stuff, you probably can never un-add it.
I think this talk is probably one of the best explanations I have given of the design philosophy that led to the "wait and see" approach we are taking on these topics. You can also search the archives of the elm-discuss to find the numerous and often tumultuous threads about these features.