unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: tantalum <sph@posteo.eu>
To: guile-devel@gnu.org
Subject: bytevector-copy creates srfi-4 vector with greater length
Date: Sun, 26 Oct 2014 15:49:26 +0100	[thread overview]
Message-ID: <544D09F6.8060309@posteo.eu> (raw)

with guile version 2.1.0.89-c5ea7 on an x86_64 GNU/Linux system
and the following code
  (use-modules (srfi srfi-4) (rnrs bytevectors))
  (define a (make-f32vector 2 0))
  (define b (bytevector-copy a))
  (write (list a b))



"b" turns out to be an f32vector with length 8, 4 times the length of "a".
i expected the result to have the same length as the argument and this
looks like a bug to me



             reply	other threads:[~2014-10-26 14:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-26 14:49 tantalum [this message]
2014-10-27  8:49 ` bytevector-copy creates srfi-4 vector with greater length Mark H Weaver
2014-10-27 11:00   ` Taylan Ulrich Bayırlı/Kammer
2014-10-27 12:36     ` tantalum
2014-11-12  6:15   ` Mark H Weaver

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=544D09F6.8060309@posteo.eu \
    --to=sph@posteo.eu \
    --cc=guile-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).