module ElmModule.Init exposing (init) -- Elm ------------------------------------------------------------------------- -- Main Menu ------------------------------------------------------------------- import Struct.Event import Struct.Flags import Struct.Model -------------------------------------------------------------------------------- -- LOCAL ----------------------------------------------------------------------- -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- EXPORTED -------------------------------------------------------------------- -------------------------------------------------------------------------------- init : Struct.Flags.Type -> (Struct.Model.Type, (Cmd Struct.Event.Type)) init flags = ((Struct.Model.new flags), Cmd.none)