elm / compiler

Compiler for Elm, a functional language for reliable webapps.
https://elm-lang.org/
BSD 3-Clause "New" or "Revised" License
7.51k stars 656 forks source link

More compact import syntax #2189

Closed dullbananas closed 3 years ago

dullbananas commented 3 years ago

existing syntax

import Platform.Cmd exposing (Cmd)

compact syntax

import Platform.(Cmd)
github-actions[bot] commented 3 years ago

Thanks for reporting this! To set expectations:

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

evancz commented 3 years ago

We actually went through three or four different styles in the early versions of Elm, and I really like where we ended up!

More generally, I do not have plans to change any syntax in the next release.