From 065e8a4d8122d4616b570496915d2c0e2c78cd6b Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Thu, 11 Aug 2022 04:15:07 -0400 Subject: Re-named the "case" macro to "when". --- stdlib/source/unsafe/lux/data/collection/array.lux | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'stdlib/source/unsafe') 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 ) [((.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 ("lux i64 +" 1 index))] (.if (..lacks? index it) - (.case (? (..item index it)) + (.when (? (..item index it)) {.#None} -- cgit v1.2.3