| summaryrefslogtreecommitdiff |
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2021-12-26 17:13:33 +0100 |
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2021-12-26 17:13:33 +0100 |
| commit | 9c46df53ad401e060664aafe8fdfbcb9a3da5731 (patch) | |
| tree | cbe3e412bc04e322ddab5ca52bdb776c63b3fdc2 /src/ElmModule/Init.elm | |
Initial commit.
Diffstat (limited to 'src/ElmModule/Init.elm')
| -rw-r--r-- | src/ElmModule/Init.elm | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/ElmModule/Init.elm b/src/ElmModule/Init.elm new file mode 100644 index 0000000..9af3cce --- /dev/null +++ b/src/ElmModule/Init.elm @@ -0,0 +1,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) |


