aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/Utils/Cmd.elm
diff options
context:
space:
mode:
authorJoris2016-06-25 15:10:03 +0200
committerJoris2016-06-25 22:09:04 +0200
commit70720548c9af024dbb6080638ac8e5470c2213eb (patch)
treea149bd6d8f1448de11ac4b0b41c52bc82052035a /src/client/elm/Utils/Cmd.elm
parent4ce4de89a5400b0d8b9cddaa2922901a081fdaaa (diff)
downloadbudget-70720548c9af024dbb6080638ac8e5470c2213eb.tar.gz
budget-70720548c9af024dbb6080638ac8e5470c2213eb.tar.bz2
budget-70720548c9af024dbb6080638ac8e5470c2213eb.zip
Use the search to view either punctual or monthly payments
Diffstat (limited to 'src/client/elm/Utils/Cmd.elm')
-rw-r--r--src/client/elm/Utils/Cmd.elm6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/client/elm/Utils/Cmd.elm b/src/client/elm/Utils/Cmd.elm
index 1eee6f3..8b79446 100644
--- a/src/client/elm/Utils/Cmd.elm
+++ b/src/client/elm/Utils/Cmd.elm
@@ -7,10 +7,8 @@ import Platform.Cmd as Cmd
pipeUpdate : (model, Cmd msg) -> (model -> (model, Cmd msg)) -> (model, Cmd msg)
pipeUpdate (model, cmd) f =
- let
- (model', cmd') = f model
- in
- (model', Cmd.batch [ cmd, cmd' ])
+ let (model', cmd') = f model
+ in (model', Cmd.batch [ cmd, cmd' ])
(:>) : (m, Cmd a) -> (m -> (m, Cmd a)) -> (m, Cmd a)
(:>) = pipeUpdate