See Original text in context
method Setty(--> Setty)
Coerce the QuantHash
object to the equivalent object that uses the Setty role. Note that for Mixy type coercion items with negative values will be skipped.
my is Bag = one => 1, two => 2;say .Setty; # OUTPUT: «Set(one two)»my is Mix = one => 1, minus => -1;say .Setty; # OUTPUT: «Set(one)»