OpenMusic Reference
rest
rest
(LISP function) -- returns the cdr of list
Syntax
rest list
Inputs
name | data type(s) | comments |
---|---|---|
list | a list or tree |
Output
output | data type(s) | comments |
---|---|---|
first | a tree |
Description
This function returns the cdr of list , the list minus its first element. It can be used with setf to set the cdr of a list. The list function rest must not be confused with the OM class **Rest.**
![]() |
LISP functions |
---|---|
The basic LISP functions are too numerous to document comprehensively in this manual. As an aid to the neophyte, the most commonly used have been included in this documentation, but they represent a small fraction of the total functionality of the MCL environment. Numerous on-line resources exist, for instance the online version of Common Lisp the Language, 2nd Edition.
Prev | Home | Next |
---|---|---|
repeat-n | Up | reverse |