A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.lispworks.com/documentation/lw71/LW/html/lw-653.htm below:

ring-push

Description

The function ring-push adds any Lisp object as an element of the ring before the "insertion position", which means that a following ring-pop will return it. If the ring is full, that is the number of elements in the ring is the same as its size (see make-ring), then ring-push first removes the element after the insertion point.

Once it finished modifying the ring, if ring-push removed an element and there is a delete-function (see make-ring), then ring-push calls delete-function on the element that it removes.

ring-push returns object.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4