Documentation for 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.

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

infix ⊖

only sub infix:<>($a$b --> Setty)

Symmetric set difference operator (alternate).

Equivalent to (^), at codepoint U+2296 (CIRCLED MINUS).