infix (&), infix ∩
Documentation for infix
(&), infix ∩ assembled from the following types:
multi sub infix:<(&)>(**)multi sub infix:<∩>(**)
say <a b c> (&) <b c d>; # OUTPUT: «set(b c)␤»<a b c d> ∩ <b c d e> ∩ <c d e f>; # OUTPUT: «set(c d)␤»
If any of the arguments are Baggy or Mixy, the result is a new
Mix) containing the common elements, each weighted by the largest common weight (which is the minimum of the weights of that element over all arguments).
say <a a b c a> (&) bag(<a a b c c>); # OUTPUT: «Bag(a(2), b, c)␤»
∩ is equivalent to
(&), at codepoint U+2229 (INTERSECTION).