blob: ccb35951026532e70f962454541160b1b74fda36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
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)
|