aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/documentation/lux.lux')
-rw-r--r--stdlib/source/documentation/lux.lux14
1 files changed, 5 insertions, 9 deletions
diff --git a/stdlib/source/documentation/lux.lux b/stdlib/source/documentation/lux.lux
index 7be9e1622..1819cb426 100644
--- a/stdlib/source/documentation/lux.lux
+++ b/stdlib/source/documentation/lux.lux
@@ -11,9 +11,7 @@
["%" \\format (.only format)]]
[collection
["[0]" list]
- ["[0]" set]]]
- [macro
- ["[0]" template]]]]
+ ["[0]" set]]]]]
[\\library
["[0]" /]]
["[0]" /
@@ -25,7 +23,6 @@
["[1][0]" extension]
["[1][0]" ffi]
["[1][0]" locale]
- ["[1][0]" macro]
["[1][0]" math]
["[1][0]" meta]
["[1][0]" program]
@@ -357,7 +354,7 @@
\n "It's a special macro meant to be used with 'case'.")
[(case (is (List Int)
(list +1 +2 +3))
- (pattern (list x y z))
+ (list x y z)
{#Some (all * x y z)}
_
@@ -428,7 +425,7 @@
(macro (_ tokens)
(case tokens
(^with_template [<tag>]
- [(pattern (list [_ {<tag> [module name]}]))
+ [(list [_ {<tag> [module name]}])
(in (list (` [(, (text$ module)) (, (text$ name))])))])
([#Symbol])
@@ -712,13 +709,13 @@
[(def my_nat 123)
(def my_text "456")
(and (case [my_nat my_text]
- (pattern (static [..my_nat ..my_text]))
+ (static [..my_nat ..my_text])
true
_
false)
(case [my_nat my_text]
- (pattern [(static ..my_nat) (static ..my_text)])
+ [(static ..my_nat) (static ..my_text)]
true
_
@@ -898,7 +895,6 @@
/extension.documentation
/ffi.documentation
/locale.documentation
- /macro.documentation
/math.documentation
/meta.documentation
/program.documentation