Symmetric difference: Difference between revisions
Content deleted Content added
→{{header|jq}}: The reviewer misunderstood the comment about the restriction on intersection/2. |
→{{header|jq}}: give example to show lists with repetitions are allowed |
||
Line 1,166: | Line 1,166: | ||
</lang> |
</lang> |
||
Example:<lang jq>symmetric_difference( [1,2]; [2,3] ) |
Example:<lang jq>symmetric_difference( [1,2,1,2]; [2,3] ) |
||
[1,3]</lang> |
[1,3]</lang> |
||