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

Suggestion: syntax #33

Open
n3phos opened this issue Sep 14, 2017 · 0 comments
Open

Suggestion: syntax #33

n3phos opened this issue Sep 14, 2017 · 0 comments

Comments

@n3phos
Copy link

n3phos commented Sep 14, 2017

Hi

I've just read the tutorial, clearly written and nice to follow!
My suggestion is to add some explanation of the syntax used in the code.
For example, Records are mentioned ( https://www.elm-tutorial.org/en/01-foundations/06-type-aliases.html ), but the syntax for updating a record is not explained.

let
   updatedPlayer =
      { player | level = player.level + howMuch }
in
      ( model, savePlayerCmd updatedPlayer )

Also syntax let in is not explained in the tutorial.

But besides those, i think all is understandable.

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

No branches or pull requests

1 participant