aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/unsafe
diff options
context:
space:
mode:
authorEduardo Julian2022-07-26 20:15:22 -0400
committerEduardo Julian2022-07-26 20:15:22 -0400
commit5da753fb0a4e220ea29fb3f45c92a69358901c20 (patch)
treef8fa038e6bce4152413509ec0d00fb5df34a6c64 /stdlib/source/unsafe
parentfeacd79496ae9c76492d5a12d30b78724b642654 (diff)
Slightly cleaner application of variance for FRP channels.
Diffstat (limited to 'stdlib/source/unsafe')
-rw-r--r--stdlib/source/unsafe/lux/data/collection/array.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/unsafe/lux/data/collection/array.lux b/stdlib/source/unsafe/lux/data/collection/array.lux
index 7ed5bd838..0a292ad64 100644
--- a/stdlib/source/unsafe/lux/data/collection/array.lux
+++ b/stdlib/source/unsafe/lux/data/collection/array.lux
@@ -11,12 +11,12 @@
[type
["[0]" variance]]]]])
-(def .public type
+(def .public primitive
"#Array")
(with_template [<item> <array>]
[(.type .public <array>
- {.#Primitive ..type {.#Item <item> {.#End}}})]
+ {.#Primitive ..primitive {.#Item <item> {.#End}}})]
[(variance.Mutable r w) (Array' r w)]
[(variance.Mutable a a) (Array a)]