Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
An operator form of Short
ResourceFunction["Terse"][n] gives an operator form of Short that will shorten the expression it is passed to approximately n lines. |
Output a short form of 100,000 integers in five lines:
In[1]:= |
Out[1]= |
Output a short form of 100,000 integers, usually in a line or two:
In[2]:= |
Out[2]= |
A prefix form of the Terse operator:
In[3]:= |
Out[3]= |
An infix form of the Terse operator:
In[4]:= |
Out[4]= |
Using Terse in composition with other operators can shorten output, as shown in the comparison below:
In[5]:= |
Out[5]= |
This work is licensed under a Creative Commons Attribution 4.0 International License