Rest¶
Status: Stable
documented, exercised by the test suite and/or worked examples, with no known limitations recorded.
Description¶
Examples¶
No verified examples yet for this function.
Implementation notes¶
Algorithm. builtin_rest returns a copy of the input with its first element dropped: it
copies args 1 .. nā1 into a new function node with the same head. Returns NULL
(unevaluated) for atoms or empty expressions.
Attributes: none registered.
Implementation status¶
Stable ā documented, exercised by the test suite and/or worked examples, with no known limitations recorded.
References¶
- Source:
src/part.c - Specification:
docs/spec/builtins/structural-manipulation.md
Notes & additional examples¶
Worked examples¶
Notes¶
Rest[expr] drops the first element; it is the complement of First.