Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
An operator form of Part
ResourceFunction["Slice"][i,j,…][expr] gives expr[[i,j,…]]. |
Select the first element of a list using the operator form:
In[1]:= | ![]() |
Out[1]= | ![]() |
An operator that selects the key in an Association:
In[2]:= | ![]() |
Extract the value of a:
In[3]:= | ![]() |
Out[3]= | ![]() |
Extract the first two key/value pairs using the operator form:
In[4]:= | ![]() |
Out[4]= | ![]() |
Wolfram Language 11.3 (March 2018) or above
This work is licensed under a Creative Commons Attribution 4.0 International License