unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* bytevector-copy creates srfi-4 vector with greater length
@ 2014-10-26 14:49 tantalum
  2014-10-27  8:49 ` Mark H Weaver
  0 siblings, 1 reply; 5+ messages in thread
From: tantalum @ 2014-10-26 14:49 UTC (permalink / raw)
  To: guile-devel

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-11-12  6:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-26 14:49 bytevector-copy creates srfi-4 vector with greater length tantalum
2014-10-27  8:49 ` 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

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).