[Top][All Lists]

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

Re: vector->list

From: Marius Vollmer
Subject: Re: vector->list
Date: Sat, 02 Dec 2006 23:07:29 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux)

Kevin Ryde <address@hidden> writes:

> Szavai Gyula <address@hidden> writes:
>> (let ((b (make-shared-array #(1) (lambda (x) '(0)) 2)))
> Thanks, though I'm not sure that's supposed to work.  I suspect you're
> not meant to make parts of the old array appear in more than one place
> in the new array.  Perhaps Marius can say what the intention is.

Hmm, I've never thought about this case.  However, if I understand
things right, it is well defined and we should support it.

My understanding is that we are talking about mapping functions here
that are constant.  That's maybe a bit unusual, but covered by the
'theory' explained in the manual.

We have warnings in the manual that the increments for a dimension can
be negative and that people should be prepared for that.  We should
extend those warnings to zero increments.  (And probably review our
own code.)

GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405

reply via email to

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