file: 10-C-lists.muf package: muf status: alpha
last function returns the last
cons cells in the given list.
greater than the list length, the list is
n is zero, the
cdr of the
final cell is returned.
It is an error to supply a negative
Stack: 'a' 'b' cons 0 last Stack: 'b' pop [ 'a' 'b' ]l 1 last car Stack: 'b' pop [ 'a' 'b' ]l 2 last car Stack: 'a'
Go to the first, previous, next, last section, table of contents.