method Mix

Documentation for method Mix assembled from the following types:

role Setty

From Setty

(Setty) method Mix

Defined as:

method Mix(Setty:D: --> Mix:D)

Returns a Mix containing the elements of the invocant.

my Mix $b = Set.new(123).Mix;
say $b;                                           # OUTPUT: «mix(3, 1, 2)␤»

class Any

From Any

(Any) method Mix

Defined as:

method Mix(--> Mix:Dis nodal

Coerces the invocant to Mix, whereby Positionals are treated as lists of values.