diff options
author | Eduardo Julian | 2022-07-30 23:13:24 -0400 |
---|---|---|
committer | Eduardo Julian | 2022-07-30 23:13:24 -0400 |
commit | 6ec8f5d2f6cbf8db45f91e5c4b48c6ec17659f72 (patch) | |
tree | 4af1db76b4aec333114f236bc88b9ccddc643e26 /stdlib/source/documentation/lux/meta/macro/syntax/declaration.lux | |
parent | 2d125c27e1ceb0adc14fd82f6984b70a12eda650 (diff) |
Extracted test-tallying machinery into its own module.
Diffstat (limited to 'stdlib/source/documentation/lux/meta/macro/syntax/declaration.lux')
-rw-r--r-- | stdlib/source/documentation/lux/meta/macro/syntax/declaration.lux | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/stdlib/source/documentation/lux/meta/macro/syntax/declaration.lux b/stdlib/source/documentation/lux/meta/macro/syntax/declaration.lux index 07dd4ddc3..77290d620 100644 --- a/stdlib/source/documentation/lux/meta/macro/syntax/declaration.lux +++ b/stdlib/source/documentation/lux/meta/macro/syntax/declaration.lux @@ -1,6 +1,6 @@ (.require [library - [lux (.except char) + [lux (.except) ["$" documentation] [data [text @@ -10,19 +10,20 @@ [\\library ["[0]" /]]) -(.def .public documentation - (.List $.Module) - ($.module /._ - "" - [($.definition /.equivalence) - ($.definition /.format) +(def .public documentation + (List $.Documentation) + (list ($.module /._ + "") - ($.definition /.Declaration - "A declaration for either a constant or a function.") + ($.definition /.equivalence) + ($.definition /.format) - ($.definition /.parser - "A parser for declaration syntax." - ["Such as:" - quux - (foo bar baz)])] - [])) + ($.definition /.Declaration + "A declaration for either a constant or a function.") + + ($.definition /.parser + "A parser for declaration syntax." + ["Such as:" + quux + (foo bar baz)]) + )) |