vle-remove-last


(vle-remove-last  lst)

removes the last item from list 'lst';

Arguments

lst  normal Lisp list

Return

list 'lst' without last item

Example

(vle-remove-last '(1 2 3 4 5 6 7 8 9 0))
returns '(1 2 3 4 5 6 7 8 9)

Alias


Remarks

high-performance replacement for (reverse (cdr (reverse lst)))



©  Bricsys NV. All rights reserved.