Ring objects can be used to hold Lisp objects (elements) and provide stack-like behavior. Each ring is limited to a maximum number of elements and can be rotated. You can control the insertion point where elements get added and removed, and iterate across the elements.
For more information about rings, start at make-ring.
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:25