aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/data/collection/tree/rose.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux/data/collection/tree/rose.lux')
-rw-r--r--stdlib/source/lux/data/collection/tree/rose.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/lux/data/collection/tree/rose.lux b/stdlib/source/lux/data/collection/tree/rose.lux
index 62b65422a..fc25f414f 100644
--- a/stdlib/source/lux/data/collection/tree/rose.lux
+++ b/stdlib/source/lux/data/collection/tree/rose.lux
@@ -49,9 +49,9 @@
(syntax: #export (tree {root tree^})
{#.doc (doc "Tree literals."
- (tree Int [10 {20 {}
- 30 {}
- 40 {}}]))}
+ (tree Int [+10 {+20 {}
+ +30 {}
+ +40 {}}]))}
(wrap (list (` (~ (loop [[value children] root]
(` {#value (~ value)
#children (list (~+ (list/map recur children)))})))))))