In Any§
See primary documentation in context for method Mix.
method Mix(--> Mix:D) is nodal
Coerces the invocant to Mix
, whereby Positional
s are treated as lists of values.
In role Setty§
See primary documentation in context for method Mix.
method Mix(Setty:D: --> Mix:D)
Returns a Mix
containing the elements of the invocant.
my Mix $b = Set.new(1, 2, 3).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»