@@ -208,7 +208,7 @@ find: action [
208
208
series [series! gob! port! bitset! typeset! object! map! none! ]
209
209
value [any-type! ]
210
210
/part {Limits the search to a given length or position}
211
- length [number! series! pair! ]
211
+ range [number! series! pair! ]
212
212
/only {Treats a series value as only a single value}
213
213
/case {Characters are case-sensitive}
214
214
/same {Use "same?" as comparator}
@@ -228,7 +228,7 @@ select: action [
228
228
series [series! port! map! object! module! none! ]
229
229
value [any-type! ]
230
230
/part {Limits the search to a given length or position}
231
- length [number! series! pair! ]
231
+ range [number! series! pair! ]
232
232
/only {Treats a series value as only a single value}
233
233
/case {Characters are case-sensitive}
234
234
/same {Use "same?" as comparator}
@@ -266,8 +266,8 @@ to: action [
266
266
copy: action [
267
267
{Copies a series, object, or other value.}
268
268
value [series! port! map! object! bitset! any-function! error! ] {At position}
269
- /part {Limits to a given length or position}
270
- length [number! series! pair! ]
269
+ /part {Limits to a given length or end position}
270
+ range [number! series! pair! ]
271
271
/deep {Also copies series values within the block}
272
272
/types {What datatypes to copy}
273
273
kinds [typeset! datatype! ]
@@ -277,7 +277,7 @@ take: action [
277
277
{Removes and returns one or more elements.}
278
278
series [series! port! gob! none! ] {At position (modified)}
279
279
/part {Specifies a length or end position}
280
- length [number! series! pair! ]
280
+ range [number! series! pair! ]
281
281
/deep {Also copies series values within the block}
282
282
/last {Take it from the tail end}
283
283
]
@@ -295,7 +295,7 @@ insert: action [
295
295
series [series! port! map! gob! object! bitset! ] {At position (modified)}
296
296
value [any-type! ] {The value to insert}
297
297
/part {Limits to a given length or position}
298
- length [number! series! pair! ]
298
+ range [number! series! pair! ]
299
299
/only {Only insert a block as a single value (not the contents of the block)}
300
300
/dup {Duplicates the insert a specified number of times}
301
301
count [number! pair! ]
@@ -306,7 +306,7 @@ append: action [
306
306
series [series! port! map! gob! object! bitset! ] {Any position (modified)}
307
307
value [any-type! ] {The value to insert}
308
308
/part {Limits to a given length or position}
309
- length [number! series! pair! ]
309
+ range [number! series! pair! ]
310
310
/only {Only insert a block as a single value (not the contents of the block)}
311
311
/dup {Duplicates the insert a specified number of times}
312
312
count [number! pair! ]
@@ -326,7 +326,7 @@ change: action [
326
326
series [series! gob! port! struct! ]{At position (modified)}
327
327
value [any-type! ] {The new value}
328
328
/part {Limits the amount to change to a given length or position}
329
- length [number! series! pair! ]
329
+ range [number! series! pair! ]
330
330
/only {Only change a block as a single value (not the contents of the block)}
331
331
/dup {Duplicates the change a specified number of times}
332
332
count [number! pair! ]
@@ -365,7 +365,7 @@ reverse: action [
365
365
{Reverses the order of elements; returns at same position.}
366
366
series [series! gob! tuple! pair! ] {At position (modified)}
367
367
/part {Limits to a given length or position}
368
- length [number! series! ]
368
+ range [number! series! ]
369
369
]
370
370
371
371
sort: action [
@@ -376,8 +376,8 @@ sort: action [
376
376
size [integer! ] {Size of each record}
377
377
/compare {Comparator offset, block or function}
378
378
comparator [integer! block! any-function! ]
379
- /part {Sort only part of a series }
380
- length [number! series! ] {Length of series to sort}
379
+ /part {Limits the sorting to a given length or position }
380
+ range [number! series! ]
381
381
/all {Compare all fields}
382
382
/reverse {Reverse sort order}
383
383
]
0 commit comments