Re: copying arrays
- From: Harold Lee <harold3@xxxxxxxxx>
- Date: 29 Apr 2007 10:03:16 -0700
On Apr 29, 2:43 am, Espen Vestre <e...@xxxxxxxxxx> wrote:
Q <qal...@xxxxxxxxx> writes:
How do I pass copies of the array around, instead of the array
itself? I don't want them to be eq. But, it'd be nice if they were
equal :)
I use copy-seq, but note that copy-seq always makes a simple-array
(which is something I discovered just last week... I needed a fill-
pointer in both the original and the copy).
--
(espen)
Search for COPY-ARRAY in this newsgroup and you'll see a lot of
similar discussions. They discuss how to duplicate the dimensions,
element type, fill pointer, etc.
-Harold
.
- References:
- copying arrays
- From: Q
- Re: copying arrays
- From: Espen Vestre
- copying arrays
- Prev by Date: Re: What are the domains that lisp doesn't fit int?
- Next by Date: Re: copying arrays
- Previous by thread: Re: copying arrays
- Next by thread: Re: copying arrays
- Index(es):