aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/math.lux
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/library/lux/math.lux
parent68d78235694c633c956bb9e8a007cad7d65370bc (diff)
Re-named the "case" macro to "when".
Diffstat (limited to 'stdlib/source/library/lux/math.lux')
-rw-r--r--stdlib/source/library/lux/math.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/library/lux/math.lux b/stdlib/source/library/lux/math.lux
index 486c7221a..0d470214a 100644
--- a/stdlib/source/library/lux/math.lux
+++ b/stdlib/source/library/lux/math.lux
@@ -47,7 +47,7 @@
(def (composite phase archive <+> last prevs)
(-> Phase Archive Code Analysis (List Analysis) (Operation Analysis))
- (case <+>
+ (when <+>
[_ {.#Text $}]
(phase#in (list#mix (function (_ left right)
{analysis.#Extension $ (list left right)})
@@ -81,7 +81,7 @@
operands)
_ (type.inference :it:)
:it: (type.check (check.identity (list) $it))]
- (case (list.reversed operands)
+ (when (list.reversed operands)
(list single)
(in single)