@@ -104,7 +104,6 @@ Mutable:
104
104
copy - copy a given slice into the acquired slice
105
105
fill - fills the acquired slice with a scalar value
106
106
map - transforms every elment in the acquired slice with a given unary function
107
- partition - partiions the acquired slice based on predicate in stable or unstable manner
108
107
replace - replaces slice, sequence, or any at left, right, periphery or all
109
108
reverse - reverses the acquired slice
110
109
rotate - rotates the array by both negative and positive amounts
@@ -132,7 +131,7 @@ isHex - check if string only contains hexidecimal characters
132
131
isASCII - check if string only contains ASCII characters
133
132
isPrintable - check if string only contains printable characters
134
133
isAlnum - check if string only contains alpha numeric characters
135
- unionWith - returns set intersection between acquired slice and given slice
134
+ unionWith - returns set union between acquired slice and given slice
136
135
137
136
Mutable:
138
137
@@ -143,11 +142,22 @@ title - capitalize each sequence separated by spaces
143
142
```
144
143
### Iterator Support:
145
144
145
+ Fluent iterators:
146
+ ```
147
+ next - return an optional value and advance by stride
148
+ window - return a slice and advance by stride
149
+ filter - acquire a unary predicate or a tuple of unary predicates
150
+ map - acquire a unary transform or a tuple of unary transforms
151
+ write - loop and write remaining iterator values to buffer
152
+ reduce - accumulate the range using a binary function and initial value
153
+ strided - set iterator stride (default 1)
154
+
155
+ ```
156
+ Standard Iterators:
157
+
146
158
```
147
- filter - only return elements where predicate is true
148
159
split - splits a sequence on a given delimiter
149
160
tokenize - tokenizes a sequence on a given delimiter
150
- window - chunks a sequence in a given window size
151
161
```
152
162
153
163
### Simple Argument Processing example :
0 commit comments