aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/unsafe
diff options
context:
space:
mode:
authorEduardo Julian2022-08-11 04:15:07 -0400
committerEduardo Julian2022-08-11 04:15:07 -0400
commit065e8a4d8122d4616b570496915d2c0e2c78cd6b (patch)
treef2bbdc3e40b796b34026ab04c9a478d8a3f082d5 /stdlib/source/unsafe
parent68d78235694c633c956bb9e8a007cad7d65370bc (diff)
Re-named the "case" macro to "when".
Diffstat (limited to 'stdlib/source/unsafe')
-rw-r--r--stdlib/source/unsafe/lux/data/collection/array.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/unsafe/lux/data/collection/array.lux b/stdlib/source/unsafe/lux/data/collection/array.lux
index 0a292ad64..870e9eb4b 100644
--- a/stdlib/source/unsafe/lux/data/collection/array.lux
+++ b/stdlib/source/unsafe/lux/data/collection/array.lux
@@ -287,7 +287,7 @@
output (..empty size)]
(.loop (again [index 0
input input])
- (.case input
+ (.when input
{.#End}
output
@@ -335,7 +335,7 @@
(template (list <default> <array>)
[((.is (.All (_ r w) (.-> (.Maybe r) (..Array' r w) (.List r)))
(.function (list default array)
- (.case default
+ (.when default
{.#Some default}
(,, (..list|+default default array))
@@ -429,7 +429,7 @@
(with_expansions [<again> (again ("lux i64 +" 1 index))]
(.if (..lacks? index it)
<again>
- (.case (? (..item index it))
+ (.when (? (..item index it))
{.#None}
<again>