Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List.cons function available to the List module users #1119

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dev-danilosilva
Copy link

@dev-danilosilva dev-danilosilva commented Sep 19, 2021

Because in Elm everything is simple and intuitive in a certain way, List.cons should be part of the functions available to the users besides the (::) function.
It happens in some parts of the language standard libraries. For example, I can construct a tuple by using the literal form (x, y) or by calling the function Tuple.pair x y and both ways are OK and does not decrease the quality of the user code when using one or another.

@github-actions
Copy link

Thanks for suggesting these code changes. To set expectations:

  • Pull requests are reviewed in batches, so it can take some time to get a response.
  • Smaller pull requests are easier to review. To fix nine typos, nine specific issues will always go faster than one big one. Learn why here.
  • Reviewers may not know as much as you about certain situations, so add links to supporting evidence for important claims, especially regarding standards for CSS, HTTP, URI, etc.

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

@dev-danilosilva dev-danilosilva changed the title List.cons function available to the module users List.cons function available to the List module users Sep 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant