guile-devel
[Top][All Lists]
Advanced

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

Re: vector types poll


From: Daniel Hartwig
Subject: Re: vector types poll
Date: Tue, 16 Apr 2013 06:47:14 +0800

On 15 April 2013 22:10, Daniel Llorens <address@hidden> wrote:
>
> Let's please agree on a behavior so we can start closing bugs. These are all 
> the objects accepted by the array interface. I've filled the table with some 
> ready-made choices that I think are at least internally consistent.
>
> ; --
>
> (import (rnrs bytevectors))
> (define (every-two a) (make-shared-array a (lambda (i) (list (+ 1 (* 2 i)))) 
> 2))
> (define (offset1 a) (make-shared-array a (lambda (i) (list (1- i))) `(1 
> ,(array-length a))))
>
> ; [1] http://lists.gnu.org/archive/html/guile-devel/2013-04/msg00158.html
> ; [2] stable-2.0 [e006d87]
> ; [3] all array-type objects *are* arrays and support offsets, strides, etc.
> ; [4] Common ground btw D. Hartwig and I (?), functionally r5rs vectors.
>
> ; -------------------------- [1] ------------ [2] --------- [3] ------ [4]
>

Is column [4] intentionally missing from all but the first set?  I was
expecting it for atleast s8vector.



reply via email to

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