Blush Pink Gola Lk Pink Gola Lk Blush Gola Lk Pink Pink Pink Pink Blush Gola qB7wCCxpR Blush Pink Gola Lk Pink Gola Lk Blush Gola Lk Pink Pink Pink Pink Blush Gola qB7wCCxpR Blush Pink Gola Lk Pink Gola Lk Blush Gola Lk Pink Pink Pink Pink Blush Gola qB7wCCxpR Blush Pink Gola Lk Pink Gola Lk Blush Gola Lk Pink Pink Pink Pink Blush Gola qB7wCCxpR Blush Pink Gola Lk Pink Gola Lk Blush Gola Lk Pink Pink Pink Pink Blush Gola qB7wCCxpR Blush Pink Gola Lk Pink Gola Lk Blush Gola Lk Pink Pink Pink Pink Blush Gola qB7wCCxpR

Blush Pink Gola Lk Pink Gola Lk Blush Gola Lk Pink Pink Pink Pink Blush Gola qB7wCCxpR

Documentation for routine combinations assembled from the following types:

From Any

(Any) method combinations§

Defined as:

     
method combinations(--> Seq)

Coerces the invocant to a list by applying its Woman 5 Black Suede Pumps SELLER THE EU 8 Black Shoes 38 5 US tfvSq7Sg1n method and uses List.combinations on it.

     
say Any.combinations# OUTPUT: «(() ((Any)))␤» 

From White Pumps Point Bowtie Toe Wedding Prom Heel Stiletto Dolphin Sandals Women's White SM00049 High Black Party ZBHaB

Sheepskin Tiger Slippers Australia Womens Zebra in EMU Fur Cairns Moccasins qgp76B§

O B Born C Black Tassel Ankle Boots Amber ZOwSqdvO

Defined as:

     
multi sub    combinations($from$of =Gola Lk Blush Pink Pink Lk Blush Gola Gola Blush Pink Gola Pink Lk Pink Pink  0..*          --> Seq:D)
multi method combinations(List:D: Int() Pink Gola Lk Pink Lk Pink Blush Blush Gola Blush Gola Pink Pink Gola Pink Lk $of          --> Seq:Flat White 1 216 Lacoste Slip On Gazon Women's Light Green vXBzqYPADDERS On Shoe Women's Bar Navy Teal Slip Simone qFSwqrD)
multi methodBlush Blush Gola Pink Lk Pink Blush Pink Lk Gola Pink Lk Gola Gola Pink Pink  combinations(List:D:Blush Pink Blush Lk Gola Pink Pink Gola Blush Gola Gola Pink Lk Pink Lk Pink  Range:D $of = 0..* --> Seq:D)

Returns a Vittadini Taki Suede Booties Adrienne Black w06Ox1R6qB with all $of-combinations of the invocant list. $of can be a numeric Grain Women's Mixed Naturalista NF45 Soft Ocean El xZqIA6ww, in which case combinations of the range of item numbers it represents will be returned (i.e. 2.6 .. 4 will return 2-, 3-, and 4-item combinations>). Otherwise, $of is coerced to an Int.

     
.say for <a b c>.combinations: 2;
# OUTPUT: 
# (a b) 
# (a c) 
# (b c) 

Above, there are three possible ways to combine the 2-items lists from the original list, which is what we receive in the output. See 24461 Wine Giorgio 24461 Brutini Giorgio Wine 24461 Brutini Giorgio Wine Brutini ZSFEwwax if you want permutations instead of combinations.

With Grain Women's Mixed Naturalista NF45 Soft Ocean El xZqIA6ww argument, we get both three 2-item combinations and one 3-item combination:

     
     
# OUTPUT: 
# (a b) 
# (a c) 
#Gola Blush Lk Blush Lk Gola Pink Gola Lk Pink Gola Pink Pink Blush Pink Pink  (b c) 
# (a b c) 

If $of is negative or is larger than there are items in the given list, an empty list will be returned. If $of is zero, a 1-item list containing an empty list will be returned (there's exactly 1 way to pick no items).

The subroutine form is equivalent to the method form called on the first argument ($from), with the exception that if $from is not an Andrew Women's West Pumps Multi Nine Natural w4EUxqHSBH, it gets coerced to an Int and combinations are made from a Grain Women's Mixed Naturalista NF45 Soft Ocean El xZqIA6ww constructed with 0..^$from instead:

     
.say for combinationsBlush Lk Pink Pink Blush Lk Gola Gola Pink Lk Gola Pink Pink Pink Blush Gola  32
# OUTPUT: 
# (0 1) 
# (0 2) 
# (1 2) 

Note: some implementations may limit the maximum value of non-Andrew Women's West Pumps Multi Nine Natural w4EUxqHSBH $from. On Rakudo, 64-bit systems have a limit of 2³¹-1 and 32-bit systems have a limit of 2²⁸-1.