diff options
Diffstat (limited to 'stdlib/source/documentation/lux.lux')
-rw-r--r-- | stdlib/source/documentation/lux.lux | 10 |
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? ..^@ |