Sample programs and libraries > STDLIB

STDLIB description

STDLIB is a library, containing several list management fuctions

 

(defun reverse (list)

Returns reversed list

 

(defun insert (list object position )

Inserts given object into a list at a given position

 

(defun remove (list  position )

Removes an element from a given position

 

(defun append (list object  )

Adds object to a given list tail.

 

(defun if ( ops) )

Executes operators ops starting from the second one if the result of first element evaluation  is true.