aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/data/collection/tree.lux
diff options
context:
space:
mode:
authorEduardo Julian2022-06-26 19:37:45 -0400
committerEduardo Julian2022-06-26 19:37:45 -0400
commit853d28f803e75d125915a81dcdcd140513efe3d2 (patch)
tree41d24b6cb5593b631793efa77f53359e8229ea37 /stdlib/source/documentation/lux/data/collection/tree.lux
parent9f6505491e8a5c8a159ce094fe0af6f4fef0c5cf (diff)
Re-named directives to declarations.
Diffstat (limited to 'stdlib/source/documentation/lux/data/collection/tree.lux')
-rw-r--r--stdlib/source/documentation/lux/data/collection/tree.lux57
1 files changed, 26 insertions, 31 deletions
diff --git a/stdlib/source/documentation/lux/data/collection/tree.lux b/stdlib/source/documentation/lux/data/collection/tree.lux
index 9c9fe9ad5..91324bbcf 100644
--- a/stdlib/source/documentation/lux/data/collection/tree.lux
+++ b/stdlib/source/documentation/lux/data/collection/tree.lux
@@ -1,7 +1,7 @@
(.require
[library
[lux (.except list)
- ["$" documentation (.only documentation:)]
+ ["$" documentation]
[data
["[0]" text (.only \n)
["%" \\format (.only format)]]]
@@ -13,40 +13,35 @@
["[1][0]" finger]
["[1][0]" zipper]])
-(documentation: (/.Tree it)
- "A generic tree data-structure.")
-
-(documentation: /.flat
- "All the leaf values of the tree, in order."
- [(flat tree)])
-
-(documentation: /.leaf
- ""
- [(leaf value)])
-
-(documentation: /.branch
- ""
- [(branch value children)])
-
-(documentation: /.tree
- "Tree literals."
- [(is (Tree Nat)
- (tree 12
- {34 {}
- 56 {}
- 78 {90 {}}}))])
-
(.def .public documentation
(.List $.Module)
($.module /._
""
- [..Tree
- ..flat
- ..leaf
- ..branch
- ..tree
- ($.default /.equivalence)
+ [($.default /.equivalence)
($.default /.functor)
- ($.default /.mix)]
+ ($.default /.mix)
+
+ ($.documentation (/.Tree it)
+ "A generic tree data-structure.")
+
+ ($.documentation /.flat
+ "All the leaf values of the tree, in order."
+ [(flat tree)])
+
+ ($.documentation /.leaf
+ ""
+ [(leaf value)])
+
+ ($.documentation /.branch
+ ""
+ [(branch value children)])
+
+ ($.documentation /.tree
+ "Tree literals."
+ [(is (Tree Nat)
+ (tree 12
+ {34 {}
+ 56 {}
+ 78 {90 {}}}))])]
[/finger.documentation
/zipper.documentation]))