diff options
Diffstat (limited to 'stdlib/source/documentation/lux/data')
7 files changed, 7 insertions, 7 deletions
diff --git a/stdlib/source/documentation/lux/data/collection/dictionary/ordered.lux b/stdlib/source/documentation/lux/data/collection/dictionary/ordered.lux index 0558eaed0..2120ef800 100644 --- a/stdlib/source/documentation/lux/data/collection/dictionary/ordered.lux +++ b/stdlib/source/documentation/lux/data/collection/dictionary/ordered.lux @@ -29,7 +29,7 @@ "" [(key? dict key)]) -(template [<name>] +(with_template [<name>] [(`` (documentation: <name> (format "Yields value under the " (~~ (template.text [<name>])) "imum key.")))] diff --git a/stdlib/source/documentation/lux/data/collection/list.lux b/stdlib/source/documentation/lux/data/collection/list.lux index 28b8011f1..2da969a32 100644 --- a/stdlib/source/documentation/lux/data/collection/list.lux +++ b/stdlib/source/documentation/lux/data/collection/list.lux @@ -90,7 +90,7 @@ "" [(member? eq xs x)]) -(template [<name> <doc>] +(with_template [<name> <doc>] [(documentation: <name> <doc>)] diff --git a/stdlib/source/documentation/lux/data/color.lux b/stdlib/source/documentation/lux/data/color.lux index a3d452f5f..c82870c35 100644 --- a/stdlib/source/documentation/lux/data/color.lux +++ b/stdlib/source/documentation/lux/data/color.lux @@ -67,7 +67,7 @@ (documentation: /.Pigment "A color with some degree of transparency.") -(template [<name>] +(with_template [<name>] [(`` (documentation: <name> (format "A " (text.replaced "_" "-" (~~ (template.text [<name>]))) diff --git a/stdlib/source/documentation/lux/data/color/named.lux b/stdlib/source/documentation/lux/data/color/named.lux index 398a4d7ef..d09e90390 100644 --- a/stdlib/source/documentation/lux/data/color/named.lux +++ b/stdlib/source/documentation/lux/data/color/named.lux @@ -18,7 +18,7 @@ ["[0]" / ["/[1]" //]]]) -(template [<name>] +(with_template [<name>] [(documentation: <name> (let [[red green blue] (//.rgb <name>) [_ name] (symbol <name>)] diff --git a/stdlib/source/documentation/lux/data/format/json.lux b/stdlib/source/documentation/lux/data/format/json.lux index 866fd5682..a2ea2866e 100644 --- a/stdlib/source/documentation/lux/data/format/json.lux +++ b/stdlib/source/documentation/lux/data/format/json.lux @@ -37,7 +37,7 @@ "A JSON object field setter." [(has key value json)]) -(template [<name> <desc>] +(with_template [<name> <desc>] [(documentation: <name> (format "A JSON object field getter for " <desc> "."))] diff --git a/stdlib/source/documentation/lux/data/text/encoding.lux b/stdlib/source/documentation/lux/data/text/encoding.lux index 792b904d0..ab9a71016 100644 --- a/stdlib/source/documentation/lux/data/text/encoding.lux +++ b/stdlib/source/documentation/lux/data/text/encoding.lux @@ -15,7 +15,7 @@ (documentation: /.Encoding "Encoding formats for text.") -(template [<name>] +(with_template [<name>] [(documentation: <name> (format "'" (/.name <name>) "' text encoding. "))] diff --git a/stdlib/source/documentation/lux/data/text/unicode/block.lux b/stdlib/source/documentation/lux/data/text/unicode/block.lux index 3214f6038..de00765eb 100644 --- a/stdlib/source/documentation/lux/data/text/unicode/block.lux +++ b/stdlib/source/documentation/lux/data/text/unicode/block.lux @@ -24,7 +24,7 @@ "" [(within? block char)]) -(template [<name>] +(with_template [<name>] [(documentation: <name> (let [[_ name] (symbol <name>)] (format (hex#encoded (/.start <name>)) |