aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/macro/template.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/documentation/lux/macro/template.lux')
-rw-r--r--stdlib/source/documentation/lux/macro/template.lux24
1 files changed, 9 insertions, 15 deletions
diff --git a/stdlib/source/documentation/lux/macro/template.lux b/stdlib/source/documentation/lux/macro/template.lux
index 869c15518..00be1845a 100644
--- a/stdlib/source/documentation/lux/macro/template.lux
+++ b/stdlib/source/documentation/lux/macro/template.lux
@@ -39,20 +39,15 @@
"=>"
"#0123+456+789.0abcdefghi"])
-(template [<a/an> <name> <short_example> <full_example>]
- [(documentation: <name>
- (format <a/an> " " (/.text [<name>]) " made by concatenating pieces of code."
- \n "The (optional) module part and the short part are specified independently.")
- [(<name> ["abc" .def ..ghi])
- "=>"
- <short_example>]
- [(<name> [.def] ["abc" .def ..ghi])
- "=>"
- <full_example>])]
-
- ["An" /.identifier abcdefghi .abcdefghi]
- ["A" /.tag #abcdefghi #.abcdefghi]
- )
+(documentation: /.identifier
+ (format "An identifier made by concatenating pieces of code."
+ \n "The (optional) module part and the short part are specified independently.")
+ [(identifier ["abc" .def ..ghi])
+ "=>"
+ abcdefghi]
+ [(identifier [.def] ["abc" .def ..ghi])
+ "=>"
+ .abcdefghi])
(documentation: /.let
"Lexically-bound templates."
@@ -71,7 +66,6 @@
..with_locals
..text
..identifier
- ..tag
..let
($.default /.irregular_arguments)]
[]))