I'm just getting started in Elm and ran into a small discrepancy in the documentation I thought I'd point out.
For the second example (02-field.elm), the code looks like this:
model : Model
model =
Model ""
But in the gitbook docs that same line looks like:
model : Model
model =
{ content = "" }
Being a beginner, I'm not exactly sure what the difference is between these and why you might choose one way of doing it over another. Just figured I'd point it out.
Hello,
I'm just getting started in Elm and ran into a small discrepancy in the documentation I thought I'd point out.
For the second example (
02-field.elm
), the code looks like this:But in the gitbook docs that same line looks like:
Being a beginner, I'm not exactly sure what the difference is between these and why you might choose one way of doing it over another. Just figured I'd point it out.