Setc#

Description#

Functions#

set-clear : (set-clear SETC)

Remove all elements in the set.

set-copy : (set-copy SETC)

Return a copy of the set

set-remove : (set-clear SETC)

Remove all elements in the set.

set-nth : (set-nth SETC INDEX)

Return the element of the set at position INDEX.

set-add : (set-clear SETC)

Remove all elements in the set.

set-length : (set-length SETC)

Return the number of elements in the set.

set-first : (set-first SETC)

Return the first element of the set.

set-empty : (set-empty SETC

Check if set is empty and return t if it is. Return nil otherwise. )

set-p : (set-p SETC)

Check if SETC is a set.

set-last : (set-last SETC)

Return the last element of the set.

set-create : (set-create)

Creates an empty set

Constants#