infix (^)

Documentation for infix (^) assembled from the following types:

language documentation Sets, bags, and mixes

From Sets, bags, and mixes

(Sets, bags, and mixes) infix (^)

multi sub infix:<(^)>(Any $aAny $b --> Setty)
multi sub infix:<(^)>(Set $aSet $b --> Setty)

Symmetric set difference operator. It is of precedence "Junctive or".

Returns the symmetric set difference of all its arguments, i.e., a Set made up of all the elements that $a has but $b doesn't and all the elements $b has but $a doesn't. Equivalent to ($a ∖ $b) ∪ ($b ∖ $a).