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
Hi, thanks for the Tutorial, very useful.
For calibrating this "issue": I'm new to Elm with a strong Haskell background.
One thing I found disturbing is that Cmd felt magical. Elm seems very explicit about imports and Cmd is in scope without import. I suggest to add a short paragraph about what Cmd is and how it comes into scope in 02-elm-arch/02-structure.html -- right when Cmd is used. Presently, Cmd.none is given out w/o much explanation (or I missed a section). Maybe the application flow diagram could be usefully brought at this point. Another way to address this is to stress what consumes the Cmd when commenting the type of update : Msg -> Model -> ( Model, Cmd Msg ) .
The text was updated successfully, but these errors were encountered:
Hi, thanks for the Tutorial, very useful.
For calibrating this "issue": I'm new to Elm with a strong Haskell background.
One thing I found disturbing is that
Cmd
felt magical. Elm seems very explicit about imports andCmd
is in scope without import. I suggest to add a short paragraph about whatCmd
is and how it comes into scope in02-elm-arch/02-structure.html
-- right when Cmd is used. Presently,Cmd.none
is given out w/o much explanation (or I missed a section). Maybe the application flow diagram could be usefully brought at this point. Another way to address this is to stress what consumes the Cmd when commenting the type ofupdate : Msg -> Model -> ( Model, Cmd Msg )
.The text was updated successfully, but these errors were encountered: