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).