I have an elm module of Types that consists of types and type aliases Foo, Bar and Baz. When I export everything like so, the code works:
module Types exposing (..)
However, if I include all of the types explicitly, the code breaks.
module Types exposing (Foo, Bar, Baz)
This is also true of the import statements on the consuming file; both need to be exposing (..)
What is the difference between these two approaches?
Msg. I'm trying to exportMsglike any other type, and defining it astype Msg = FirstAction | SecondAction | ThirdAction...and it can't find those actions in my code. - Mark Karavan