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 upProvenance of List type in Default Imports #965
Comments
frou
changed the title from
Presence of List type in Default Imports
to
Provenance of List type in Default Imports
Jun 20, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
evancz
Jun 20, 2018
Member
I would like to expose it from List, but for complicated reasons within the compiler, it is hard to do that. I don't think the current code can change, and I don't think the docs should be made more complex to account for a thing that is likely to go away in the future. So I think the current balance is best.
|
I would like to expose it from |
frou commentedJun 20, 2018
The Default Imports are documented as including:
But, in the
List.elmfile, there is notype List =...so should the documentation instead say the following?
...or should a "dummy" type definition for
Listbe added toList.elm, similar to these which already exist in their respective files: