aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/unsafe
diff options
context:
space:
mode:
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>