Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Provide a new context that contains no symbols
ResourceFunction["UniqueContext"][] returns a string corresponding to a context that has no symbols. | |
ResourceFunction["UniqueContext"][name] returns an empty context based on name. |
Retrieve the ResourceFunction:
In[1]:= |
Out[1]= |
Get a string corresponding to a context with no existing symbols:
In[2]:= |
Out[2]= |
A base name can be given:
In[3]:= |
Out[3]= |
If symbols already exist in a context, it will be skipped:
In[4]:= |
Out[5]= |
With no arguments given, the context name will be based on the current value of $Context:
In[6]:= |
Out[6]= |
Create a string that has fully qualified symbol names:
In[7]:= |
Out[8]= |
Wolfram Language 11.3 (March 2018) or above
This work is licensed under a Creative Commons Attribution 4.0 International License