Thread
Usage
Notes
Further Examples
Here k threads over the lists appearing in its arguments.
In[1]:=
|
Out[1]=
|
Here k threads over objects with head Plus.
In[2]:=
|
Out[2]=
|
By contrast, here k threads over objects with head Times.
In[3]:=
|
Out[3]=
|
Here k threads over objects with head Plus that appear in k's first arguments.
In[4]:=
|
Out[4]=
|
Here k threads over its last arguments.
In[5]:=
|
Out[5]=
|
Here k threads over arguments through .
In[6]:=
|
Out[6]=
|
|