aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/data/collection/queue.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/documentation/lux/data/collection/queue.lux')
-rw-r--r--stdlib/source/documentation/lux/data/collection/queue.lux65
1 files changed, 29 insertions, 36 deletions
diff --git a/stdlib/source/documentation/lux/data/collection/queue.lux b/stdlib/source/documentation/lux/data/collection/queue.lux
index 19fee78c9..963776aa5 100644
--- a/stdlib/source/documentation/lux/data/collection/queue.lux
+++ b/stdlib/source/documentation/lux/data/collection/queue.lux
@@ -1,7 +1,7 @@
(.require
[library
[lux (.except list)
- ["$" documentation (.only documentation:)]
+ ["$" documentation]
[data
["[0]" text (.only \n)
["%" \\format (.only format)]]]
@@ -13,46 +13,39 @@
["[0]" /
["[1][0]" priority]])
-(documentation: (/.Queue it)
- "A first-in, first-out sequential data-structure.")
-
-(documentation: /.of_list
- ""
- [(of_list entries)])
-
-(documentation: /.list
- ""
- [(list queue)])
-
-(documentation: /.front
- "Yields the first value in the queue, if any.")
-
-(documentation: /.member?
- ""
- [(member? equivalence queue member)])
-
-(documentation: /.next
- ""
- [(next queue)])
-
-(documentation: /.end
- ""
- [(end val queue)])
-
(.def .public documentation
(.List $.Module)
($.module /._
""
- [..Queue
- ..of_list
- ..list
- ..front
- ..member?
- ..next
- ..end
- ($.default /.empty)
+ [($.default /.empty)
($.default /.size)
($.default /.empty?)
($.default /.equivalence)
- ($.default /.functor)]
+ ($.default /.functor)
+
+ ($.documentation (/.Queue it)
+ "A first-in, first-out sequential data-structure.")
+
+ ($.documentation /.of_list
+ ""
+ [(of_list entries)])
+
+ ($.documentation /.list
+ ""
+ [(list queue)])
+
+ ($.documentation /.front
+ "Yields the first value in the queue, if any.")
+
+ ($.documentation /.member?
+ ""
+ [(member? equivalence queue member)])
+
+ ($.documentation /.next
+ ""
+ [(next queue)])
+
+ ($.documentation /.end
+ ""
+ [(end val queue)])]
[/priority.documentation]))