diff options
Diffstat (limited to 'stdlib/source/documentation')
-rw-r--r-- | stdlib/source/documentation/lux.lux | 10 | ||||
-rw-r--r-- | stdlib/source/documentation/lux/data/color/named.lux | 2 | ||||
-rw-r--r-- | stdlib/source/documentation/lux/data/text/unicode/block.lux | 2 |
3 files changed, 7 insertions, 7 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? ..^@ diff --git a/stdlib/source/documentation/lux/data/color/named.lux b/stdlib/source/documentation/lux/data/color/named.lux index 57efb0cb1..06c7217e5 100644 --- a/stdlib/source/documentation/lux/data/color/named.lux +++ b/stdlib/source/documentation/lux/data/color/named.lux @@ -22,7 +22,7 @@ (template [<name>] [(documentation: <name> (let [[red green blue] (//.rgb <name>) - [_ name] (name_of <name>)] + [_ name] (symbol <name>)] (format "R:" (hex#encoded red) " G:" (hex#encoded green) " B:" (hex#encoded blue) diff --git a/stdlib/source/documentation/lux/data/text/unicode/block.lux b/stdlib/source/documentation/lux/data/text/unicode/block.lux index 320b2470f..da7dc36ed 100644 --- a/stdlib/source/documentation/lux/data/text/unicode/block.lux +++ b/stdlib/source/documentation/lux/data/text/unicode/block.lux @@ -26,7 +26,7 @@ (template [<name>] [(documentation: <name> - (let [[_ name] (name_of <name>)] + (let [[_ name] (symbol <name>)] (format (hex#encoded (/.start <name>)) "-" (hex#encoded (/.end <name>)) " | " (text.replaced "_" " " name))))] |