blob: 9af3cceac1e5689e4a739bfec07b962ee14cba3e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
module ElmModule.Init exposing (init)
-- Local Module ----------------------------------------------------------------
import Struct.Flags
import Struct.Event
import Struct.Model
--------------------------------------------------------------------------------
-- LOCAL -----------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- EXPORTED --------------------------------------------------------------------
--------------------------------------------------------------------------------
init : Struct.Flags.Type -> (Struct.Model.Type, (Cmd Struct.Event.Type))
init flags =
-- TODO: read flags and request story.
(model, Cmd.none)
|