aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/documentation')
-rw-r--r--stdlib/source/documentation/lux.lux9
-rw-r--r--stdlib/source/documentation/lux/data.lux2
-rw-r--r--stdlib/source/documentation/lux/meta.lux6
-rw-r--r--stdlib/source/documentation/lux/meta/symbol.lux (renamed from stdlib/source/documentation/lux/data/name.lux)4
4 files changed, 11 insertions, 10 deletions
diff --git a/stdlib/source/documentation/lux.lux b/stdlib/source/documentation/lux.lux
index c6c5394f9..2fe05c99e 100644
--- a/stdlib/source/documentation/lux.lux
+++ b/stdlib/source/documentation/lux.lux
@@ -80,8 +80,9 @@
(documentation: /.Text
"Your standard, run-of-the-mill string values.")
-(documentation: /.Name
- "A name. It is used as part of Lux syntax to represent identifiers and tags.")
+(documentation: /.Symbol
+ (format "A name for a Lux definition."
+ \n "It includes the module of provenance."))
(documentation: (/.Maybe value)
"A potentially missing value.")
@@ -339,7 +340,7 @@
{#UnivQ (List @) @}
{#ExQ (List @) @}
{#Apply @ @}
- {#Named Name @})))])
+ {#Named Symbol @})))])
(documentation: /.exec
"Sequential execution of expressions (great for side-effects)."
@@ -920,7 +921,7 @@
..Rev
..Frac
..Text
- ..Name
+ ..Symbol
..Maybe
..Type
..Location
diff --git a/stdlib/source/documentation/lux/data.lux b/stdlib/source/documentation/lux/data.lux
index 5fce18ca7..1e86a77fc 100644
--- a/stdlib/source/documentation/lux/data.lux
+++ b/stdlib/source/documentation/lux/data.lux
@@ -14,7 +14,6 @@
["[1][0]" color]
["[1][0]" format]
["[1][0]" identity]
- ["[1][0]" name]
["[1][0]" product]
["[1][0]" sum]
["[1][0]" text]])
@@ -28,7 +27,6 @@
/color.documentation
/format.documentation
/identity.documentation
- /name.documentation
/product.documentation
/sum.documentation
/text.documentation
diff --git a/stdlib/source/documentation/lux/meta.lux b/stdlib/source/documentation/lux/meta.lux
index 960bef2da..4d348d681 100644
--- a/stdlib/source/documentation/lux/meta.lux
+++ b/stdlib/source/documentation/lux/meta.lux
@@ -10,7 +10,8 @@
[\\library
["[0]" /]]
["[0]" / "_"
- ["[1][0]" location]])
+ ["[1][0]" location]
+ ["[1][0]" symbol]])
(documentation: /.result'
(format "Evaluates a computation that depends on Lux's compiler state."
@@ -197,4 +198,5 @@
($.default /.monad)
($.default /.lifted)
($.default /.try)]
- [/location.documentation]))
+ [/location.documentation
+ /symbol.documentation]))
diff --git a/stdlib/source/documentation/lux/data/name.lux b/stdlib/source/documentation/lux/meta/symbol.lux
index 3406e9654..c4dc3a7a5 100644
--- a/stdlib/source/documentation/lux/data/name.lux
+++ b/stdlib/source/documentation/lux/meta/symbol.lux
@@ -11,10 +11,10 @@
["[0]" /]])
(documentation: /.module
- "The module part of a name.")
+ "The module part of a symbol.")
(documentation: /.short
- "The short part of a name.")
+ "The short part of a symbol.")
(.def: .public documentation
(.List $.Module)