aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/meta/symbol.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/documentation/lux/meta/symbol.lux')
-rw-r--r--stdlib/source/documentation/lux/meta/symbol.lux29
1 files changed, 29 insertions, 0 deletions
diff --git a/stdlib/source/documentation/lux/meta/symbol.lux b/stdlib/source/documentation/lux/meta/symbol.lux
new file mode 100644
index 000000000..c4dc3a7a5
--- /dev/null
+++ b/stdlib/source/documentation/lux/meta/symbol.lux
@@ -0,0 +1,29 @@
+(.module:
+ [library
+ [lux {"-" nat int rev list type or and}
+ ["$" documentation {"+" documentation:}]
+ [data
+ [text {"+" \n}
+ ["%" format {"+" format}]]]
+ [macro
+ ["[0]" template]]]]
+ [\\library
+ ["[0]" /]])
+
+(documentation: /.module
+ "The module part of a symbol.")
+
+(documentation: /.short
+ "The short part of a symbol.")
+
+(.def: .public documentation
+ (.List $.Module)
+ ($.module /._
+ ""
+ [..module
+ ..short
+ ($.default /.hash)
+ ($.default /.equivalence)
+ ($.default /.order)
+ ($.default /.codec)]
+ []))