aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/data/collection/stack.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/documentation/lux/data/collection/stack.lux')
-rw-r--r--stdlib/source/documentation/lux/data/collection/stack.lux45
1 files changed, 23 insertions, 22 deletions
diff --git a/stdlib/source/documentation/lux/data/collection/stack.lux b/stdlib/source/documentation/lux/data/collection/stack.lux
index 5a334c846..e882391c7 100644
--- a/stdlib/source/documentation/lux/data/collection/stack.lux
+++ b/stdlib/source/documentation/lux/data/collection/stack.lux
@@ -1,6 +1,6 @@
(.require
[library
- [lux (.except list)
+ [lux (.except)
["$" documentation]
[data
["[0]" text (.only \n)
@@ -8,28 +8,29 @@
[\\library
["[0]" /]])
-(.def .public documentation
- (.List $.Module)
- ($.module /._
- ""
- [($.definition /.empty)
- ($.definition /.size)
- ($.definition /.empty?)
- ($.definition /.equivalence)
- ($.definition /.functor)
+(def .public documentation
+ (List $.Documentation)
+ (list ($.module /._
+ "")
- ($.definition (/.Stack it)
- "A first-in, last-out sequential data-structure.")
+ ($.definition /.empty)
+ ($.definition /.size)
+ ($.definition /.empty?)
+ ($.definition /.equivalence)
+ ($.definition /.functor)
- ($.definition /.value
- "Yields the top value in the stack, if any."
- [(value stack)])
+ ($.definition (/.Stack it)
+ "A first-in, last-out sequential data-structure.")
- ($.definition /.next
- ""
- [(next stack)])
+ ($.definition /.value
+ "Yields the top value in the stack, if any."
+ [(value stack)])
- ($.definition /.top
- ""
- [(top value stack)])]
- []))
+ ($.definition /.next
+ ""
+ [(next stack)])
+
+ ($.definition /.top
+ ""
+ [(top value stack)])
+ ))