Skip to content

Commit 1a796c4

Browse files
committed
updating function list for readme
1 parent acca760 commit 1a796c4

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

README.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ Mutable:
104104
copy - copy a given slice into the acquired slice
105105
fill - fills the acquired slice with a scalar value
106106
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
108107
replace - replaces slice, sequence, or any at left, right, periphery or all
109108
reverse - reverses the acquired slice
110109
rotate - rotates the array by both negative and positive amounts
@@ -132,7 +131,7 @@ isHex - check if string only contains hexidecimal characters
132131
isASCII - check if string only contains ASCII characters
133132
isPrintable - check if string only contains printable characters
134133
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
136135
137136
Mutable:
138137
@@ -143,11 +142,22 @@ title - capitalize each sequence separated by spaces
143142
```
144143
### Iterator Support:
145144

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+
146158
```
147-
filter - only return elements where predicate is true
148159
split - splits a sequence on a given delimiter
149160
tokenize - tokenizes a sequence on a given delimiter
150-
window - chunks a sequence in a given window size
151161
```
152162

153163
### Simple Argument Processing example :

0 commit comments

Comments
 (0)