Code: Select all
(set 'pList '((f g) a b c "hello" d e 10))
(pop pList) → (f g)
(pop pList) → a
pList → (b c "hello" d e 10)
(pop pList 3) → d
(pop pList 100) → 10
Code: Select all
(pop pList 100)
Code: Select all
(pop pList 4) → 10
Code: Select all
(pop pList -1) → 10