Code Organization

I think you’re on the right track. Try (as a starting point, adapt as necessary):

  • Common.elm, defining Msg, Model, and other types that are used everywhere
  • Most of your other files import Common.Something
  • Main.elm imports from everything (and is imported by nothing) and contains the main value.
3 Likes