diff options
author | Eduardo Julian | 2021-09-14 01:26:29 -0400 |
---|---|---|
committer | Eduardo Julian | 2021-09-14 01:26:29 -0400 |
commit | 0797dfc9ebb32e5eb324eec58e1e4b1c99895ce7 (patch) | |
tree | 7fe374551b7073a7aabb0a84e370546177b98820 /stdlib/source/documentation | |
parent | 6eb57a31fd2647626ef301b827c9a99ef0f2a484 (diff) |
Re-named "Name" to "Symbol".
Diffstat (limited to 'stdlib/source/documentation')
-rw-r--r-- | stdlib/source/documentation/lux.lux | 9 | ||||
-rw-r--r-- | stdlib/source/documentation/lux/data.lux | 2 | ||||
-rw-r--r-- | stdlib/source/documentation/lux/meta.lux | 6 | ||||
-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) |