Name

pop

Usage

macro

Syntax

(pop place)

Description

Returns the first element of the list place and updates the setfable place to the rest of the list.

user 1 > (let a '(1 2 3))
it: (1 2 3)
user 2 > (pop a)
it: 1
user 3 > a
it: (2 3)