@@ -129,7 +129,7 @@ Examples:
129
129
Defined as:
130
130
131
131
multi method sort()
132
- multi method sort(&by )
132
+ multi method sort(&custom-routine-to-use )
133
133
134
134
Sorts iterables with C < infix:<cmp> > or given code object and returns a new C < List > .
135
135
Optionally, takes a L < Callable > as a positional parameter, specifying how to
@@ -433,7 +433,7 @@ Coerce the invocant first to a C<List> and then to a L<Supply|/type/Supply>.
433
433
Defined As:
434
434
435
435
multi method min(--> Any:D)
436
- multi method min(&by --> Any:D)
436
+ multi method min(&custom-routine-to-use --> Any:D)
437
437
438
438
Coerces to Iterable and returns the numerically smallest element. If a
439
439
C < Callable > positional argument is provided it is called with each element
@@ -444,7 +444,7 @@ and its smallest return values is returned.
444
444
Defined As:
445
445
446
446
multi method max(--> Any:D)
447
- multi method max(&by --> Any:D)
447
+ multi method max(&custom-routine-to-use --> Any:D)
448
448
449
449
Coerces to Iterable and returns the numerically biggest element. If a
450
450
C < Callable > positional argument is provided it is called with each element
@@ -455,7 +455,7 @@ and its biggest return values is returned.
455
455
Defined As:
456
456
457
457
multi method minmax(--> List:D)
458
- multi method minmax(&by --> List:D)
458
+ multi method minmax(&custom-routine-to-use --> List:D)
459
459
460
460
Returns a list containing the smallest and the biggest element. If a
461
461
C < Callable > positional argument is provided each element is filtered and
0 commit comments