Skip to content

Suggestion: syntax #33

@n3phos

Description

@n3phos

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions