X-XOR

[GENERIC-FUNCTION]


OM 6.1
Function Reference
ARGUMENTS:
  - l1? a list  
  - l2? a list  
&optional
 
  - test test function [default = equal]
  - key test key [default = identity]
&rest
 
  - list more lists  

Description:

XOR's lists (<l1?> and <l2?> and possibly more) into a single list.
XOR keeps only the elements present in one list and not in the other one(s).

<test> is a function or function name for a binary comparison.
<key> is a name or function name to apply to the elements before comparison.

Ex. (x-xor '(1 2 3 4 5) '(4 5 6 7 8)) => (1 2 3 6 7 8)