Newbie question: Howto remove only first element from a list
Subject: Newbie question: Howto remove only first element from a list
From: Raymond Toy (RT/EUS)
Date: Mon, 28 Apr 2008 16:16:58 -0400
Robert Dodier wrote:
> On Fri, Apr 25, 2008 at 9:31 AM, Raymond Toy (RT/EUS)
> <raymond.toy at ericsson.com> wrote:
>
>> Not sure what's going on. I'm doing this with the CVS version using
>> maxima-local, instead of installing maxima somewhere.
>
> The index is constructed by a Perl program which looks for
> regular expressions and notes the file offsets --- my guess is
> that Perl is treating the r.e.'s differently.
> The boxes I use for development have Perl 5.8.1 & 5.8.5 respectively.
FWIW, I looked at the index file. The index file says:
("rest" . ("maxima.info-4" 171002 259 "Functions and Variables for Lists"))
Offset 171002 in maxima.info-4 for me is the entry:
-- Function: rest (<expr>)
I think we want the offset to point at:
-- Function: rest (<expr>, <n>)
-- Function: rest (<expr>)
Don't know why the index file is pointing to the second line. I don't
grok perl at all.
Ray