aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/data
diff options
context:
space:
mode:
authorEduardo Julian2022-03-30 21:25:53 -0400
committerEduardo Julian2022-03-30 21:25:53 -0400
commit8eb86ed366b2305751f2e831c7a081ffcca82c89 (patch)
treef8da5967f61d115414b3655dd9045cef370c8d5b /stdlib/source/documentation/lux/data
parent4326d69ab717683449bf37bf8dd170c83455c0c0 (diff)
De-sigil-ification: /
Diffstat (limited to 'stdlib/source/documentation/lux/data')
-rw-r--r--stdlib/source/documentation/lux/data/binary.lux68
-rw-r--r--stdlib/source/documentation/lux/data/collection/list.lux50
-rw-r--r--stdlib/source/documentation/lux/data/format/binary.lux52
-rw-r--r--stdlib/source/documentation/lux/data/text.lux40
-rw-r--r--stdlib/source/documentation/lux/data/text/format.lux46
5 files changed, 128 insertions, 128 deletions
diff --git a/stdlib/source/documentation/lux/data/binary.lux b/stdlib/source/documentation/lux/data/binary.lux
index 2bb9dd97f..1bc5e4146 100644
--- a/stdlib/source/documentation/lux/data/binary.lux
+++ b/stdlib/source/documentation/lux/data/binary.lux
@@ -1,14 +1,14 @@
(.using
- [library
- [lux "*"
- ["$" documentation {"+" documentation:}]
- [data
- [text {"+" \n}
- ["%" format {"+" format}]]]
- [macro
- ["[0]" template]]]]
- [\\library
- ["[0]" /]])
+ [library
+ [lux "*"
+ ["$" documentation {"+" documentation:}]
+ [data
+ [text {"+" \n}
+ ["%" format {"+" format}]]]
+ [macro
+ ["[0]" template]]]]
+ [\\library
+ ["[0]" /]])
(documentation: /.Binary
"A binary BLOB of data.")
@@ -21,37 +21,37 @@
""
[(aggregate f init binary)])
-(documentation: /.read/8!
+(documentation: /.read_8!
"Read 1 byte (8 bits) at the given index."
- [(read/8! index binary)])
+ [(read_8! index binary)])
-(documentation: /.read/16!
+(documentation: /.read_16!
"Read 2 bytes (16 bits) at the given index."
- [(read/16! index binary)])
+ [(read_16! index binary)])
-(documentation: /.read/32!
+(documentation: /.read_32!
"Read 4 bytes (32 bits) at the given index."
- [(read/32! index binary)])
+ [(read_32! index binary)])
-(documentation: /.read/64!
+(documentation: /.read_64!
"Read 8 bytes (64 bits) at the given index."
- [(read/64! index binary)])
+ [(read_64! index binary)])
-(documentation: /.write/8!
+(documentation: /.write_8!
"Write 1 byte (8 bits) at the given index."
- [(write/8! index value binary)])
+ [(write_8! index value binary)])
-(documentation: /.write/16!
+(documentation: /.write_16!
"Write 2 bytes (16 bits) at the given index."
- [(write/16! index value binary)])
+ [(write_16! index value binary)])
-(documentation: /.write/32!
+(documentation: /.write_32!
"Write 4 bytes (32 bits) at the given index."
- [(write/32! index value binary)])
+ [(write_32! index value binary)])
-(documentation: /.write/64!
+(documentation: /.write_64!
"Write 8 bytes (64 bits) at the given index."
- [(write/64! index value binary)])
+ [(write_64! index value binary)])
(documentation: /.copy
"Mutates the target binary BLOB by copying bytes from the source BLOB to it."
@@ -72,14 +72,14 @@
[..Binary
..empty
..aggregate
- ..read/8!
- ..read/16!
- ..read/32!
- ..read/64!
- ..write/8!
- ..write/16!
- ..write/32!
- ..write/64!
+ ..read_8!
+ ..read_16!
+ ..read_32!
+ ..read_64!
+ ..write_8!
+ ..write_16!
+ ..write_32!
+ ..write_64!
..copy
..slice
..after
diff --git a/stdlib/source/documentation/lux/data/collection/list.lux b/stdlib/source/documentation/lux/data/collection/list.lux
index 2aa968d1c..5497350e7 100644
--- a/stdlib/source/documentation/lux/data/collection/list.lux
+++ b/stdlib/source/documentation/lux/data/collection/list.lux
@@ -1,19 +1,19 @@
(.using
- [library
- [lux "*"
- ["$" documentation {"+" documentation:}]
- [control
- ["<>" parser
- ["<[0]>" code]]]
- [data
- ["[0]" text {"+" \n}
- ["%" format {"+" format}]]]
- [macro
- [syntax {"+" syntax:}]
- ["[0]" code]
- ["[0]" template]]]]
- [\\library
- ["[0]" /]])
+ [library
+ [lux "*"
+ ["$" documentation {"+" documentation:}]
+ [control
+ ["<>" parser
+ ["<[0]>" code]]]
+ [data
+ ["[0]" text {"+" \n}
+ ["%" format {"+" format}]]]
+ [macro
+ [syntax {"+" syntax:}]
+ ["[0]" code]
+ ["[0]" template]]]]
+ [\\library
+ ["[0]" /]])
(documentation: /.mixes
""
@@ -105,16 +105,16 @@
(documentation: /.zipped
"Create list zippers with the specified number of input lists."
- [(def: zipped/2 (zipped 2))
- (def: zipped/3 (zipped 3))
- (zipped/3 xs ys zs)
+ [(def: zipped_2 (zipped 2))
+ (def: zipped_3 (zipped 3))
+ (zipped_3 xs ys zs)
((zipped 3) xs ys zs)])
(documentation: /.zipped_with
"Create list zippers with the specified number of input lists."
- [(def: zipped_with/2 (zipped_with 2))
- (def: zipped_with/3 (zipped_with 3))
- (zipped_with/2 + xs ys)
+ [(def: zipped_with_2 (zipped_with 2))
+ (def: zipped_with_3 (zipped_with 3))
+ (zipped_with_2 + xs ys)
((zipped_with 2) + xs ys)])
(documentation: /.last
@@ -194,10 +194,10 @@
($.default /.functor)
($.default /.apply)
($.default /.monad)
- ($.default /.zipped/2)
- ($.default /.zipped/3)
- ($.default /.zipped_with/2)
- ($.default /.zipped_with/3)
+ ($.default /.zipped_2)
+ ($.default /.zipped_3)
+ ($.default /.zipped_with_2)
+ ($.default /.zipped_with_3)
($.default /.first)
($.default /.after)
($.default /.while)
diff --git a/stdlib/source/documentation/lux/data/format/binary.lux b/stdlib/source/documentation/lux/data/format/binary.lux
index 4eb84ccd1..497de2dba 100644
--- a/stdlib/source/documentation/lux/data/format/binary.lux
+++ b/stdlib/source/documentation/lux/data/format/binary.lux
@@ -1,14 +1,14 @@
(.using
- [library
- [lux {"-" nat int rev list type or and symbol}
- ["$" documentation {"+" documentation:}]
- [data
- [text {"+" \n}
- ["%" format {"+" format}]]]
- [macro
- ["[0]" template]]]]
- [\\library
- ["[0]" /]])
+ [library
+ [lux {"-" nat int rev list type or and symbol}
+ ["$" documentation {"+" documentation:}]
+ [data
+ [text {"+" \n}
+ ["%" format {"+" format}]]]
+ [macro
+ ["[0]" template]]]]
+ [\\library
+ ["[0]" /]])
(documentation: /.Mutation
"A mutation of binary data, tracking where in the data to transform.")
@@ -60,29 +60,29 @@
..rec
..segment
($.default /.monoid)
- ($.default /.bits/8)
- ($.default /.bits/16)
- ($.default /.bits/32)
- ($.default /.bits/64)
+ ($.default /.bits_8)
+ ($.default /.bits_16)
+ ($.default /.bits_32)
+ ($.default /.bits_64)
($.default /.any)
($.default /.bit)
($.default /.nat)
($.default /.int)
($.default /.rev)
($.default /.frac)
- ($.default /.binary/8)
- ($.default /.binary/16)
- ($.default /.binary/32)
- ($.default /.binary/64)
- ($.default /.utf8/8)
- ($.default /.utf8/16)
- ($.default /.utf8/32)
- ($.default /.utf8/64)
+ ($.default /.binary_8)
+ ($.default /.binary_16)
+ ($.default /.binary_32)
+ ($.default /.binary_64)
+ ($.default /.utf8_8)
+ ($.default /.utf8_16)
+ ($.default /.utf8_32)
+ ($.default /.utf8_64)
($.default /.text)
- ($.default /.sequence/8)
- ($.default /.sequence/16)
- ($.default /.sequence/32)
- ($.default /.sequence/64)
+ ($.default /.sequence_8)
+ ($.default /.sequence_16)
+ ($.default /.sequence_32)
+ ($.default /.sequence_64)
($.default /.maybe)
($.default /.list)
($.default /.set)
diff --git a/stdlib/source/documentation/lux/data/text.lux b/stdlib/source/documentation/lux/data/text.lux
index 7163b5416..94886667c 100644
--- a/stdlib/source/documentation/lux/data/text.lux
+++ b/stdlib/source/documentation/lux/data/text.lux
@@ -1,21 +1,21 @@
(.using
- [library
- [lux {"-" char}
- ["$" documentation {"+" documentation:}]
- [data
- [text
- ["%" format {"+" format}]]
- [collection
- ["[0]" list]]]]]
- ["[0]" / "_"
- ["[1][0]" buffer]
- ["[1][0]" encoding]
- ["[1][0]" escape]
- ["[1][0]" format]
- ["[1][0]" regex]
- ["[1][0]" unicode]]
- [\\library
- ["[0]" /]])
+ [library
+ [lux {"-" char}
+ ["$" documentation {"+" documentation:}]
+ [data
+ [text
+ ["%" format {"+" format}]]
+ [collection
+ ["[0]" list]]]]]
+ ["[0]" / "_"
+ ["[1][0]" buffer]
+ ["[1][0]" encoding]
+ ["[1][0]" escape]
+ ["[1][0]" format]
+ ["[1][0]" regex]
+ ["[1][0]" unicode]]
+ [\\library
+ ["[0]" /]])
(documentation: /.Char
"A character code number.")
@@ -91,9 +91,9 @@
""
[(all_split_by token sample)])
-(documentation: /.replaced/1
+(documentation: /.replaced_once
""
- [(replaced/1 pattern replacement template)])
+ [(replaced_once pattern replacement template)])
(documentation: /.replaced
""
@@ -130,7 +130,7 @@
..split_at
..split_by
..all_split_by
- ..replaced/1
+ ..replaced_once
..replaced
..interposed
..space?
diff --git a/stdlib/source/documentation/lux/data/text/format.lux b/stdlib/source/documentation/lux/data/text/format.lux
index 3ef040ea8..7cf561034 100644
--- a/stdlib/source/documentation/lux/data/text/format.lux
+++ b/stdlib/source/documentation/lux/data/text/format.lux
@@ -1,11 +1,11 @@
(.using
- [library
- [lux {"-" nat int rev type list symbol}
- ["$" documentation {"+" documentation:}]
- [macro
- ["[0]" template]]]]
- [\\library
- ["[0]" /]])
+ [library
+ [lux {"-" nat int rev type list symbol}
+ ["$" documentation {"+" documentation:}]
+ [macro
+ ["[0]" template]]]]
+ [\\library
+ ["[0]" /]])
(documentation: (/.Format it)
"A way to produce readable text from values.")
@@ -45,22 +45,22 @@
($.default /.xml)
($.default /.json)
- ($.default /.nat/2)
- ($.default /.nat/8)
- ($.default /.nat/10)
- ($.default /.nat/16)
- ($.default /.int/2)
- ($.default /.int/8)
- ($.default /.int/10)
- ($.default /.int/16)
- ($.default /.rev/2)
- ($.default /.rev/8)
- ($.default /.rev/10)
- ($.default /.rev/16)
- ($.default /.frac/2)
- ($.default /.frac/8)
- ($.default /.frac/10)
- ($.default /.frac/16)
+ ($.default /.nat_2)
+ ($.default /.nat_8)
+ ($.default /.nat_10)
+ ($.default /.nat_16)
+ ($.default /.int_2)
+ ($.default /.int_8)
+ ($.default /.int_10)
+ ($.default /.int_16)
+ ($.default /.rev_2)
+ ($.default /.rev_8)
+ ($.default /.rev_10)
+ ($.default /.rev_16)
+ ($.default /.frac_2)
+ ($.default /.frac_8)
+ ($.default /.frac_10)
+ ($.default /.frac_16)
($.default /.mod)
($.default /.list)