From these two steps, as a noob, I cannot possibly understand that Element is actually something that is derived from the src folder of elm-ui, other than by going to the Slack/Matrix channels and asking the question "Where does Element come from?"
ls ~/.elm/0.19.1/packages/mdgriffith/elm-ui/1.1.8/src/
Element Element.elm Internal
It would be helpful if the elm-guide could explain the import keyword early on, so that I can understand where import is searching for module names.
The
import
keyword seems magical. As a newcomer to Elm, I read https://korban.net/posts/elm/2019-11-17-elm-ui-introduction/, it explains that I should:elm install mdgriffith/elm-ui
import Element exposing (..)
From these two steps, as a noob, I cannot possibly understand that
Element
is actually something that is derived from thesrc
folder ofelm-ui
, other than by going to the Slack/Matrix channels and asking the question "Where doesElement
come from?"It would be helpful if the elm-guide could explain the
import
keyword early on, so that I can understand whereimport
is searching for module names.