Lxor()
Description
FUNCTION: lxor(<list>[, <sep>])
Performs a boolean parity (XOR) reduction across a list. Returns 1 if an odd number of elements are true, and 0 otherwise. An empty list returns 0.
An optional separator may be specified to use a delimiter other than a space.
Examples
> say lxor(1 0 0)
You say, “1”
> say lxor(1 1 0)
You say, “0”
> say lxor()
You say, “0”