Mix
ErrorsCollection

Mix

Synthesised documentation from type/Any type/Setty

From type/Any

See Original text in context

method Mix(--> Mix:Dis nodal

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

From type/Setty

See Original text in context

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)␤»

The elements of the returned Mix will have weights equal to 1:

say (1,2,3).Mix{3};                               # OUTPUT: «1␤»