aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/Utils.elm
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/Utils.elm')
-rw-r--r--frontend/src/Utils.elm5
1 files changed, 5 insertions, 0 deletions
diff --git a/frontend/src/Utils.elm b/frontend/src/Utils.elm
index b6c4bd5..3a308ca 100644
--- a/frontend/src/Utils.elm
+++ b/frontend/src/Utils.elm
@@ -11,6 +11,11 @@ between ( l, u ) v =
11 v >= l && v <= u 11 v >= l && v <= u
12 12
13 13
14flip : (a -> b -> c) -> (b -> a -> c)
15flip f =
16 \b a -> f a b
17
18
14range : Int -> Int -> Int -> List Int 19range : Int -> Int -> Int -> List Int
15range start stop step = 20range start stop step =
16 if start >= stop then 21 if start >= stop then