aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/Utils.elm
diff options
context:
space:
mode:
authorAkshay <[email protected]>2020-12-27 11:27:44 +0000
committerAkshay <[email protected]>2020-12-27 11:27:44 +0000
commitd5aabbac71fcd12f31c82159fe0d7a58d0ad925d (patch)
treed4a0516cecc85dab18d4e76230da05752d74ba9a /frontend/src/Utils.elm
parentab3ddc1fae1364afeefc0d2c30d8e11a31839948 (diff)
add catalog filters, furbyLink component
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