[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: propose deprecation of generalized-vector-*
From: |
Ludovic Courtès |
Subject: |
Re: propose deprecation of generalized-vector-* |
Date: |
Sat, 03 Nov 2012 22:10:31 +0100 |
User-agent: |
Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux) |
Hi,
Daniel Llorens <address@hidden> skribis:
>> 5. Re: propose deprecation of generalized-vector-*
>> (Ludovic =?utf-8?Q?Court=C3=A8s?=)
>
>> Yes. That procedure would only make sense for one-dimensional arrays
>> anyway. It could just as well throw an error when passed a
>> multi-dimensional array, no?
>
> I think that there should be a function that returns the leading dimension of
> an array for arrays of any rank.
>
> I argued for this here
>
> http://lists.gnu.org/archive/html/guile-devel/2012-09/msg00065.html
>
> Extending array-length to have this behavior is really the simplest option.
Right, makes sense. Let’s see what Andy thinks.
(And sorry for the ~2-month delay!)
Ludo’.