See Original text in context
method Mix(--> Mix) is nodal
Coerces the invocant to Mix, whereby Positional are treated as lists of values.
See Original text in context
method Mix(Setty: --> Mix)
Returns a Mix containing the elements of the invocant.
my Mix = Set.new(1, 2, 3).Mix;say ; # OUTPUT: «Mix(3 1 2)»
The elements of the returned Mix
will have weights equal to 1:
say (1,2,3).Mix; # OUTPUT: «1»