OpenMusic

Visual Programming | Computer-Assisted Composition

OpenMusic Reference

Prev| | Next


first

first

(LISP function) -- returns the first element of a list, using one-based addressing

Syntax

first list

Inputs

name data type(s) comments
list a list or tree  

Output

output data type(s) comments
first any  

Description

This function returns the car of list , the first element of the list. In this case, ‘first’ refers to human numbering, where addresses start with one, and not zero.

Note 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
finale-import Up first-n