aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/abstract/hash.lux
diff options
context:
space:
mode:
authorEduardo Julian2022-07-27 21:46:33 -0400
committerEduardo Julian2022-07-27 21:46:33 -0400
commitebfe1bbbe543299f8691e4862fbc899637ff8cfd (patch)
tree21c8142deb052fd17ef85809429b2fa41048f45d /stdlib/source/documentation/lux/abstract/hash.lux
parent5da753fb0a4e220ea29fb3f45c92a69358901c20 (diff)
New flat format for documentation fragments.
Diffstat (limited to 'stdlib/source/documentation/lux/abstract/hash.lux')
-rw-r--r--stdlib/source/documentation/lux/abstract/hash.lux17
1 files changed, 8 insertions, 9 deletions
diff --git a/stdlib/source/documentation/lux/abstract/hash.lux b/stdlib/source/documentation/lux/abstract/hash.lux
index 347a14440..12a862759 100644
--- a/stdlib/source/documentation/lux/abstract/hash.lux
+++ b/stdlib/source/documentation/lux/abstract/hash.lux
@@ -1,6 +1,6 @@
(.require
[library
- [lux
+ [lux (.except)
["$" documentation]
[data
[text (.only \n)
@@ -8,12 +8,11 @@
[\\library
["[0]" /]])
-(.def .public documentation
- (.List $.Module)
- ($.module /._
- ""
- [($.definition /.functor)
+(def .public documentation
+ (List $.Documentation)
+ (list ($.module /._
+ "")
+ ($.definition /.functor)
- ($.definition (/.Hash it)
- "A way to produce hash-codes for a type's instances.")]
- []))
+ ($.definition (/.Hash it)
+ "A way to produce hash-codes for a type's instances.")))