In article <················@asl.uni-bielefeld.de> ·····@asl.uni-bielefeld.de (Andrew P. White) writes:
Hi there, I've recently wandered aimlessly into the world of Lisp (scheme
actually) directly from C. I'm trying to remove ONLY the last element from a
[...]
Looks like what you're looking for is except-last-pair!:
(define x '(a b c))
(except-last-pair! x) => (a b)
x => (a b)
--
!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++!
! Richard Levitte, VMS GNU Emacs hacker ! tel: int+46-8-18 30 99 !
! Sulv"agen 57, II ! fax: none for the moment !
! S-126 40 H"agersten ! Internet: ·······@e.kth.se !
! SWEDEN ! !
!-----------------------------------------------------------------------------!