summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2018-09-14 10:09:38 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2018-09-14 10:09:38 +0200
commitac5b50e4a622ee0885678a96c69af7f49290bcee (patch)
tree24907ac28e1251af33e1790cbb9c4a3d3be34810 /src/Update
parent85c6127369e984ef89bb06bf1139fab4aa07e790 (diff)
...
Diffstat (limited to 'src/Update')
-rw-r--r--src/Update/StoreParams.elm24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/Update/StoreParams.elm b/src/Update/StoreParams.elm
new file mode 100644
index 0000000..3955ecd
--- /dev/null
+++ b/src/Update/StoreParams.elm
@@ -0,0 +1,24 @@
+module Update.StoreParams exposing (apply_to)
+
+-- Elm -------------------------------------------------------------------------
+
+-- Login -----------------------------------------------------------------------
+import Action.Ports
+
+import Struct.Event
+import Struct.Flags
+import Struct.Model
+
+--------------------------------------------------------------------------------
+-- LOCAL -----------------------------------------------------------------------
+--------------------------------------------------------------------------------
+
+--------------------------------------------------------------------------------
+-- EXPORTED --------------------------------------------------------------------
+--------------------------------------------------------------------------------
+apply_to : Struct.Model.Type -> (Struct.Model.Type, (Cmd Struct.Event.Type))
+apply_to model =
+ (
+ model,
+ (Action.Ports.store_params (5, ""))
+ )