aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux.lux
diff options
context:
space:
mode:
authorEduardo Julian2021-09-14 01:39:53 -0400
committerEduardo Julian2021-09-14 01:39:53 -0400
commitbca1a9cdcf837e184378d5e6339a969e40d1dbab (patch)
treebdc85e9a635f7d6bc27de5f34de924504845806f /stdlib/source/documentation/lux.lux
parent0797dfc9ebb32e5eb324eec58e1e4b1c99895ce7 (diff)
Re-named "name_of" to "symbol".
Diffstat (limited to 'stdlib/source/documentation/lux.lux')
-rw-r--r--stdlib/source/documentation/lux.lux10
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/documentation/lux.lux b/stdlib/source/documentation/lux.lux
index 2fe05c99e..82029959f 100644
--- a/stdlib/source/documentation/lux.lux
+++ b/stdlib/source/documentation/lux.lux
@@ -433,7 +433,7 @@
(documentation: /.macro:
"Macro-definition macro."
- [(macro: .public (name_of tokens)
+ [(macro: .public (symbol tokens)
(case tokens
(^template [<tag>]
[(^ (list [_ {<tag> [module name]}]))
@@ -441,7 +441,7 @@
([#Identifier] [#Tag])
_
- (failure "Wrong syntax for name_of")))])
+ (failure "Wrong syntax for symbol")))])
(documentation: /.and
"Short-circuiting 'and'."
@@ -767,9 +767,9 @@
_
{#Left (format "Static part " (%t static) " does not match URI: " uri)})])
-(documentation: /.name_of
+(documentation: /.symbol
"Given an identifier or a tag, gives back a 2 tuple with the module and name parts, both as Text."
- [(name_of ..#doc)
+ [(symbol ..#doc)
"=>"
["documentation/lux" "#doc"]])
@@ -1005,7 +1005,7 @@
..with_expansions
..static
..^multi
- ..name_of
+ ..symbol
..:parameter
..same?
..^@