elm/core

Remove type alias keyword

pravdomil opened this issue · 2 comments

The number one question on elm faq is:
What is the difference between type and type alias?

So what about having no type alias at all and replace this:

type alias MaybeList a = Maybe (List a)

with this:

MaybeList a = Maybe (List a)

Since variables and types are distinguish by first upper/lower case, we know if that is function or type alias.

This way elm will become even more compact.

Thanks for reporting this! To set expectations:

  • Issues are reviewed in batches, so it can take some time to get a response.
  • Ask questions a community forum. You will get an answer quicker that way!
  • If you experience something similar, open a new issue. We like duplicates.

Finally, please be patient with the core team. They are trying their best with limited resources.