I found the type annotation confusing because it was using = instead of :.
I noticed elm-format automatically fixes this because it thinks it's a record. So I added a sample Model definition that would make this example syntactically correct and I think not confusing.
I found the type annotation confusing because it was using
=
instead of:
. I noticedelm-format
automatically fixes this because it thinks it's a record. So I added a sample Model definition that would make this example syntactically correct and I think not confusing.