You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a newbie reads the first quick example on the website (https://guide.elm-lang.org/) he/she/they might understand most of it (if programming is not a new thing), but after clicking the link to the preview the code looks slightly different.
It's not a biggy, but this is a bit confusing if you are completely new to elm.
EDIT2: Parts of the code can be removed and it will still work. Why is this possible?
Example: view : Model -> Html Msg
or code like this: viewInput : String -> String -> String -> (String -> msg) -> Html msg
from the form example
The text was updated successfully, but these errors were encountered:
If a newbie reads the first quick example on the website (https://guide.elm-lang.org/) he/she/they might understand most of it (if programming is not a new thing), but after clicking the link to the preview the code looks slightly different.
It's not a biggy, but this is a bit confusing if you are completely new to elm.
EDIT: The example of the preview repeats in the tutorial (https://guide.elm-lang.org/architecture/buttons.html), but it differs from the code from the first page.
EDIT2: Parts of the code can be removed and it will still work. Why is this possible?
Example:
view : Model -> Html Msg
or code like this:
viewInput : String -> String -> String -> (String -> msg) -> Html msg
from the form example
The text was updated successfully, but these errors were encountered: