Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Equivalent to Union but redefines the first argument to the result
ResourceFunction["UnionTo"][s,l] sets the value of s to be a union of the elements of s and l. | |
ResourceFunction["UnionTo"][s,l1,l2,…] sets the value of s to be a union of the elements of s and all the li. |
Assign a list to l:
In[1]:= |
Out[1]= |
Join elements to a list:
In[2]:= |
Out[2]= |
Ask for the elements in a list:
In[3]:= |
Out[3]= |
Add more elements:
In[4]:= |
Out[4]= |
Add more lists:
In[5]:= |
Out[5]= |
Wolfram Language 11.3 (March 2018) or above
This work is licensed under a Creative Commons Attribution 4.0 International License