Wolfram Language & System 10.0 (2014)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

Define a Function for Repeated Expressions

Use Repeated () to define a function that takes as an argument any list of pairs.

    
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
Since the first element of the list is not a pair, the function does not work:
In[4]:=
Click for copyable input
Out[4]=