Use of nconc

If nconc is used to add things to the end of a list, use set! unless the list is known to be non-empty.


> (define empty '())
empty

> (nconc empty '(e f)) (e f)

> empty ()

> (set! empty (nconc empty '(e f))) #[undefined]

> empty (e f)

Contents    Page-10    Prev    Next    Page+10    Index