summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2021-12-26 17:13:33 +0100
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2021-12-26 17:13:33 +0100
commit9c46df53ad401e060664aafe8fdfbcb9a3da5731 (patch)
treecbe3e412bc04e322ddab5ca52bdb776c63b3fdc2 /src/Main.elm
Initial commit.
Diffstat (limited to 'src/Main.elm')
-rw-r--r--src/Main.elm25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/Main.elm b/src/Main.elm
new file mode 100644
index 0000000..0f8f61a
--- /dev/null
+++ b/src/Main.elm
@@ -0,0 +1,25 @@
+module Main exposing (main)
+
+-- Elm ------------------------------------------------------------------------
+import Browser
+
+-- Local Module ----------------------------------------------------------------
+import ElmModule.Init
+import ElmModule.Subscriptions
+import ElmModule.View
+import ElmModule.Update
+
+import Struct.Flags
+import Struct.Model
+import Struct.Event
+
+main : (Program Shared.Struct.Flags.Type Struct.Model.Type Struct.Event.Type)
+main =
+ (Browser.element
+ {
+ init = ElmModule.Init.init,
+ view = ElmModule.View.view,
+ update = ElmModule.Update.update,
+ subscriptions = ElmModule.Subscriptions.subscriptions
+ }
+ )