aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/data/coll/array.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/lux/data/coll/array.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/lux/data/coll/array.lux b/stdlib/source/lux/data/coll/array.lux
index 507092de1..750e6b610 100644
--- a/stdlib/source/lux/data/coll/array.lux
+++ b/stdlib/source/lux/data/coll/array.lux
@@ -177,9 +177,9 @@
(struct: #export Monoid<Array> (All [a]
(Monoid (Array a)))
- (def: unit (new +0))
+ (def: identity (new +0))
- (def: (append xs ys)
+ (def: (compose xs ys)
(let [sxs (size xs)
sxy (size ys)]
(|> (new (n.+ sxy sxs))