Skip to content

Latest commit

 

History

History
39 lines (22 loc) · 525 Bytes

File metadata and controls

39 lines (22 loc) · 525 Bytes

Rest

Rest(expr)

returns expr with the first element removed.

Rest(expr) is equivalent to expr[[2;;]].

Examples

>> Rest({a, b, c})
{b,c}
 
>> Rest(a + b + c)
b+c

Nonatomic expression expected.

>> Rest(x)
Rest(x)

Implementation status

  • ✅ - full supported

Github