[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gcl-devel] Todo list...

From: Camm Maguire
Subject: Re: [Gcl-devel] Todo list...
Date: 17 May 2002 17:11:00 -0400


James Amundson <address@hidden> writes:

> I was in the process of responding to this message when Ray beat me to
> it. That's good, because Ray knows more about this than I.
> Comments follow.
> On Fri, 2002-05-17 at 10:44, Raymond Toy wrote:
> > >>>>> "Camm" == Camm Maguire <address@hidden> writes:
> > 
> >     >> 1) f2cl-lib.lisp fails to compile because of some sort of internal 
> > GCL
> >     >> error. I reported this to the GCL list, but I haven't pinned down the
> >     >> problem. I can work around the problem by not compiling f2cl-lib.
> >     >> 
> > 
> >     Camm> OK, I take it this is in maxima cvs somewhere?
> > 
> > Yep.  Get the latest CVS and look in src/numerical.
> That's right, but I'll send Camm a copy.

OK, waiting for this.

> > CMUCL says array-displacement:
> > 
> >    Returns values of :displaced-to and :displaced-index-offset options to
> >    make-array, or the defaults nil and 0 if not a displaced array.
> > 
> > So if you could provide this information in any form visible to Lisp,
> > it should be easy to add the right Lisp code to return the desired
> > data. 
> To return the two values in lisp, you want something like
>       (values array displaced-to)

OK, I've just checked in an implementation which returns the pair as a
*cons*.  This probably isn't right, but either a list wrapper could be
written in arraylib.lsp, or someone could kindly explain to me what
*lisp object* the answer would form.  It is probably simpler to do
this at the C level right to begin with.

In any case, I've checked it out briefly and it appears to work.
Please test and provide feedback.

Take care,

> Thanks for picking this up so quickly.
> --Jim

Camm Maguire                                            address@hidden
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]