diff options
Diffstat (limited to 'stdlib/source/documentation/lux/meta/macro/local.lux')
-rw-r--r-- | stdlib/source/documentation/lux/meta/macro/local.lux | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/stdlib/source/documentation/lux/meta/macro/local.lux b/stdlib/source/documentation/lux/meta/macro/local.lux index 8c2ccb00c..47248b372 100644 --- a/stdlib/source/documentation/lux/meta/macro/local.lux +++ b/stdlib/source/documentation/lux/meta/macro/local.lux @@ -1,6 +1,6 @@ (.require [library - [lux (.except char) + [lux (.except) ["$" documentation] [data [text (.only \n) @@ -10,18 +10,19 @@ [\\library ["[0]" /]]) -(.def .public documentation - (.List $.Module) - ($.module /._ - "" - [($.definition /.unknown_module) - ($.definition /.cannot_shadow_definition) - ($.definition /.unknown_definition) +(def .public documentation + (List $.Documentation) + (list ($.module /._ + "") - ($.definition /.push - (format "Installs macros in the compiler-state, with the given names." - \n "Yields code that can be placed either as expression or as declarations." - \n "This code un-installs the macros." - \n "NOTE: Always use this code once to clean-up..") - [(push macros)])] - [])) + ($.definition /.unknown_module) + ($.definition /.cannot_shadow_definition) + ($.definition /.unknown_definition) + + ($.definition /.push + (format "Installs macros in the compiler-state, with the given names." + \n "Yields code that can be placed either as expression or as declarations." + \n "This code un-installs the macros." + \n "NOTE: Always use this code once to clean-up..") + [(push macros)]) + )) |